|
|
@ -283,13 +283,13 @@ define([
|
|
|
|
var onDisconnect = function (noAlert) {
|
|
|
|
var onDisconnect = function (noAlert) {
|
|
|
|
setEditable(false);
|
|
|
|
setEditable(false);
|
|
|
|
if (drive.refresh) { drive.refresh(); }
|
|
|
|
if (drive.refresh) { drive.refresh(); }
|
|
|
|
APP.toolbar.failed();
|
|
|
|
toolbar.failed();
|
|
|
|
if (!noAlert) { UIElements.disconnectAlert(); }
|
|
|
|
if (!noAlert) { UIElements.disconnectAlert(); }
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var onReconnect = function () {
|
|
|
|
var onReconnect = function () {
|
|
|
|
setEditable(true);
|
|
|
|
setEditable(true);
|
|
|
|
if (drive.refresh) { drive.refresh(); }
|
|
|
|
if (drive.refresh) { drive.refresh(); }
|
|
|
|
APP.toolbar.reconnecting();
|
|
|
|
toolbar.reconnecting();
|
|
|
|
UIElements.reconnectAlert();
|
|
|
|
UIElements.reconnectAlert();
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|