Fix stacking disconnection alerts

This commit is contained in:
yflory
2020-02-05 16:18:09 +01:00
parent 768dc71803
commit 1c013d8a4f
7 changed files with 34 additions and 17 deletions

View File

@@ -13,6 +13,7 @@ define([
'/common/sframe-common-codemirror.js',
'/common/common-thumbnail.js',
'/common/common-interface.js',
'/common/common-ui-elements.js',
'/common/hyperscript.js',
'/customize/messages.js',
'cm/lib/codemirror',
@@ -42,6 +43,7 @@ define([
SframeCM,
Thumb,
UI,
UIElements,
h,
Messages,
CMeditor,
@@ -1098,13 +1100,13 @@ define([
});
}
setEditable(false);
//UI.alert(Messages.common_connectionLost, undefined, true);
//UIElements.disconnectAlert();
};
var onReconnect = function () {
if (APP.unrecoverable) { return; }
setEditable(true);
//UI.findOKButton().click();
//UIElements.reconnectAlert();
};
var getHeadingText = function () {