Fix stacking disconnection alerts
This commit is contained in:
1 parent
768dc71803
commit
1c013d8a4f
7 files changed
+34
-17
No files matched your search
+2
-2
@@ -1379,13 +1379,13 @@ define([
|
||||
setEditable(false);
|
||||
if (APP.team && driveAPP.refresh) { driveAPP.refresh(); }
|
||||
toolbar.failed();
|
||||
if (!noAlert) { UI.alert(Messages.common_connectionLost, undefined, true); }
|
||||
if (!noAlert) { UIElements.disconnectAlert(); }
|
||||
};
|
||||
var onReconnect = function () {
|
||||
setEditable(true);
|
||||
if (APP.team && driveAPP.refresh) { driveAPP.refresh(); }
|
||||
toolbar.reconnecting();
|
||||
UI.findOKButton().click();
|
||||
UIElements.reconnectAlert();
|
||||
};
|
||||
|
||||
sframeChan.on('EV_DRIVE_LOG', function (msg) {
|
||||
|
||||
Reference in new issue
Block a user