lint compliance

pull/1/head
yflory 4 years ago
parent c573a7396d
commit 24e22c4c4f

@ -2537,6 +2537,7 @@ define([
$creation.focus(); $creation.focus();
}; };
var autoStoreModal = {};
UIElements.onServerError = function (common, err, toolbar, cb) { UIElements.onServerError = function (common, err, toolbar, cb) {
//if (["EDELETED", "EEXPIRED", "ERESTRICTED"].indexOf(err.type) === -1) { return; } //if (["EDELETED", "EEXPIRED", "ERESTRICTED"].indexOf(err.type) === -1) { return; }
var priv = common.getMetadataMgr().getPrivateData(); var priv = common.getMetadataMgr().getPrivateData();
@ -2740,7 +2741,6 @@ define([
}; };
var storePopupState = false; var storePopupState = false;
var autoStoreModal = {};
UIElements.displayStorePadPopup = function (common, data) { UIElements.displayStorePadPopup = function (common, data) {
if (storePopupState) { return; } if (storePopupState) { return; }
storePopupState = true; storePopupState = true;

@ -1687,8 +1687,6 @@ define([
sframeChan.on('Q_PASSWORD_CHECK', function (pw, cb) { sframeChan.on('Q_PASSWORD_CHECK', function (pw, cb) {
Cryptpad.isNewChannel(currentPad.href, pw, function (e, isNew) { Cryptpad.isNewChannel(currentPad.href, pw, function (e, isNew) {
if (isNew === false) { if (isNew === false) {
var channel = Utils.Hash.hrefToHexChannelId(currentPad.href, pw);
nThen(function (w) { nThen(function (w) {
// If the pad is stored, update its data // If the pad is stored, update its data
var _secret = Utils.Hash.getSecrets(parsed.type, parsed.hash, pw); var _secret = Utils.Hash.getSecrets(parsed.type, parsed.hash, pw);

Loading…
Cancel
Save