Loading client/src/components/Collections/RuleBasedCollectionCreatorModal.js +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ function ruleBasedCollectionCreatorModal(elements, elementsType, importType, opt title = _l("Build Rules for Uploading Collections"); } options.title = title; // Prevents user from accidentally closing the modal by clicking outside the bounds options.closing_events = false; const { promise, showEl } = collectionCreatorModalSetup(options); return import(/* webpackChunkName: "ruleCollectionBuilder" */ "components/RuleCollectionBuilder.vue").then( (module) => { Loading client/src/components/Collections/common/modal.js +2 −1 Original line number Diff line number Diff line Loading @@ -16,13 +16,14 @@ export function collectionCreatorModalSetup(options, Galaxy = null) { }; }); const showEl = function (el) { let close_event = options.closing_events === undefined || options.closing_events modal.show({ title: options.title || _l("Create a collection"), body: el, width: "85%", height: "100%", xlarge: true, closing_events: true, closing_events: close_event }); }; return { promise, options, showEl }; Loading Loading
client/src/components/Collections/RuleBasedCollectionCreatorModal.js +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ function ruleBasedCollectionCreatorModal(elements, elementsType, importType, opt title = _l("Build Rules for Uploading Collections"); } options.title = title; // Prevents user from accidentally closing the modal by clicking outside the bounds options.closing_events = false; const { promise, showEl } = collectionCreatorModalSetup(options); return import(/* webpackChunkName: "ruleCollectionBuilder" */ "components/RuleCollectionBuilder.vue").then( (module) => { Loading
client/src/components/Collections/common/modal.js +2 −1 Original line number Diff line number Diff line Loading @@ -16,13 +16,14 @@ export function collectionCreatorModalSetup(options, Galaxy = null) { }; }); const showEl = function (el) { let close_event = options.closing_events === undefined || options.closing_events modal.show({ title: options.title || _l("Create a collection"), body: el, width: "85%", height: "100%", xlarge: true, closing_events: true, closing_events: close_event }); }; return { promise, options, showEl }; Loading