Fix stacking disconnection alerts
This commit is contained in:
@@ -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