PWV-2: Removed duplicate keys on .jscsrc file and fix small glitch on form dialog promises.
This commit is contained in:
1 parent
8aa8b4288c
commit
3c363050f6
3 files changed
+10
-7
No files matched your search
@@ -31,7 +31,7 @@ OHIF.ui.showFormDialog = (templateName, dialogData) => {
|
||||
|
||||
// Destroy the created dialog view when the promise is either resolved or rejected
|
||||
const dismissModal = () => Blaze.remove(view);
|
||||
promise.then(dismissModal).catch(dismissModal);
|
||||
promise.then(dismissModal, dismissModal);
|
||||
|
||||
// Return the promise to allow callbacks stacking from outside
|
||||
return promise;
|
||||
|
||||
Reference in new issue
Block a user