Move towards NPM for Cornerstone dependencies

This commit is contained in:
Erik Ziegler committed 2017-06-15 09:18:54 +02:00
1 parent 6c98c6a589
commit ddef3c4710
59 files changed
+2435 -29162

No files matched your search

@@ -9,6 +9,6 @@ Template.dialogLoading.onRendered(() => {
$modal.modal({
backdrop: 'static',
keyboard: false,
modal: true
show: true
});
});
@@ -8,7 +8,7 @@ Template.dialogSimple.onCreated(() => {
instance.close = () => {
const $modal = instance.$('.modal');
$modal.on('hidden.bs.modal', () => instance.data.promiseResolve()).modal('hide');
$modal.one('hidden.bs.modal', () => instance.data.promiseResolve()).modal('hide');
};
// Automatically close the modal if a timeout value was given
@@ -12,7 +12,7 @@ Template.unsavedChangesDialog.onRendered(function() {
const instance = Template.instance();
const $modal = instance.$('.modal.unsavedChangesDialog');
// Routine which effectivelly displays the BS modal...
// Routine which effectively displays the BS modal...
instance.displayModal = () => {
// Make modal options extensible...
@@ -22,7 +22,7 @@ Template.unsavedChangesDialog.onRendered(function() {
}, instance.data.modalOptions);
// Set handler for "hidden" event... Simply remove the view!
$modal.on('hidden.bs.modal', () => {
$modal.one('hidden.bs.modal', () => {
Blaze.remove(instance.view);
});