fix undefined reference in code
This commit is contained in:
parent
0bb10a8a0a
commit
868161a8a8
@ -689,7 +689,7 @@ define([
|
|||||||
// inform of network disconnect
|
// inform of network disconnect
|
||||||
setEditable(false);
|
setEditable(false);
|
||||||
toolbar.failed();
|
toolbar.failed();
|
||||||
Cryptpad.alert(Messages.common_connectionLost, undefined, force);
|
Cryptpad.alert(Messages.common_connectionLost, undefined, true);
|
||||||
};
|
};
|
||||||
|
|
||||||
var onConnectionChange = config.onConnectionChange = function (info) {
|
var onConnectionChange = config.onConnectionChange = function (info) {
|
||||||
@ -700,7 +700,7 @@ define([
|
|||||||
toolbar.reconnecting(info.myId);
|
toolbar.reconnecting(info.myId);
|
||||||
Cryptpad.findOKButton().click();
|
Cryptpad.findOKButton().click();
|
||||||
} else {
|
} else {
|
||||||
Cryptpad.alert(Messages.common_connectionLost, undefined, force);
|
Cryptpad.alert(Messages.common_connectionLost, undefined, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user