lint compliance

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

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

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

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

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

Loading…
Cancel
Save