Display properties modal in the secure iframe
This commit is contained in:
@@ -1607,11 +1607,7 @@ define([
|
||||
if (!data) {
|
||||
return void UI.alert(Messages.autostore_notAvailable);
|
||||
}
|
||||
require(['/common/inner/properties.js'], function (Properties) {
|
||||
Properties.getPropertiesModal(common, {}, function (e) {
|
||||
if (e) { console.error(e); }
|
||||
});
|
||||
});
|
||||
sframeChan.event('EV_PROPERTIES_OPEN');
|
||||
});
|
||||
});
|
||||
break;
|
||||
|
||||
@@ -1020,6 +1020,10 @@ define([
|
||||
initSecureModal('filepicker', data || {}, cb);
|
||||
});
|
||||
|
||||
sframeChan.on('EV_PROPERTIES_OPEN', function (data) {
|
||||
initSecureModal('properties', data || {}, null);
|
||||
});
|
||||
|
||||
sframeChan.on('EV_ACCESS_OPEN', function (data) {
|
||||
initSecureModal('access', data || {}, null);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user