lint compliance

pull/1/head
yflory 5 years ago
parent 872e636ac5
commit aeb81fdfad

@ -651,8 +651,6 @@ define([
return uid || authorUid(existing); return uid || authorUid(existing);
}; };
var ready = function (Env) { var ready = function (Env) {
var metadataMgr = Env.common.getMetadataMgr();
var md = metadataMgr.getMetadata();
Env.ready = true; Env.ready = true;
Env.myAuthorId = getAuthorId(Env); Env.myAuthorId = getAuthorId(Env);

@ -1621,8 +1621,7 @@ define([
if (!data) { if (!data) {
return void UI.alert(Messages.autostore_notAvailable); return void UI.alert(Messages.autostore_notAvailable);
} }
var metadataMgr = common.getMetadataMgr(); sframeChan.event('EV_PROPERTIES_OPEN');
sframeChan.query('EV_PROPERTIES_OPEN');
}); });
}); });
break; break;

@ -1036,7 +1036,7 @@ define([
initSecureModal('filepicker', data || {}, cb); initSecureModal('filepicker', data || {}, cb);
}); });
sframeChan.on('EV_PROPERTIES_OPEN', function (data, cb) { sframeChan.on('EV_PROPERTIES_OPEN', function (data) {
initSecureModal('properties', data || {}); initSecureModal('properties', data || {});
}); });

@ -33,13 +33,13 @@ define([
var metadataMgr = common.getMetadataMgr(); var metadataMgr = common.getMetadataMgr();
var sframeChan = common.getSframeChannel(); var sframeChan = common.getSframeChannel();
var $body = $('body'); var $body = $('body');
var displayed;
var hideIframe = function () { var hideIframe = function () {
if (!displayed) { return; } if (!displayed) { return; }
sframeChan.event('EV_SECURE_IFRAME_CLOSE'); sframeChan.event('EV_SECURE_IFRAME_CLOSE');
}; };
var displayed;
var create = {}; var create = {};
// Share modal // Share modal

Loading…
Cancel
Save