Using popover component to confirm hotkeys replacement
This commit is contained in:
1 parent
661f5b1e4c
commit
ecef6d5af2
5 files changed
+97
-23
No files matched your search
@@ -66,9 +66,7 @@ OHIF.ui.showPopover = (templateName, popoverData, options={}) => {
|
||||
const view = Blaze.renderWithData(template, templateData, $popoverContent[0]);
|
||||
$element.one('hidden.bs.popover', () => {
|
||||
Blaze.remove(view);
|
||||
if (popoverOptions.trigger !== 'manual') {
|
||||
$element.popover('destroy');
|
||||
}
|
||||
$element.popover('destroy');
|
||||
});
|
||||
|
||||
promise.then(dismissPopover).catch(dismissPopover);
|
||||
|
||||
Reference in new issue
Block a user