Allowing event positioning on simple dialogs
This commit is contained in:
1 parent
88164d082d
commit
3246bdae7a
2 files changed
+13
-2
No files matched your search
@@ -23,7 +23,9 @@ Template.caseProgress.onCreated(() => {
|
||||
};
|
||||
|
||||
// Display the error messages
|
||||
const errorHandler = data => OHIF.ui.showDialog('dialogInfo', data);
|
||||
const errorHandler = data => {
|
||||
OHIF.ui.showDialog('dialogInfo', Object.assign({ class: 'themed' }, data));
|
||||
};
|
||||
|
||||
const promise = instance.data.measurementApi.storeMeasurements();
|
||||
promise.then(successHandler).catch(errorHandler);
|
||||
|
||||
Reference in new issue
Block a user