PWV-2: Removed duplicate keys on .jscsrc file and fix small glitch on form dialog promises.

This commit is contained in:
Emanuel F. Oliveira authored and Erik Ziegler committed 2016-11-15 08:24:01 +01:00
1 parent 8aa8b4288c
commit 3c363050f6
3 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -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;