Implementing image download dialog behaviors
This commit is contained in:
1 parent
56093a9d68
commit
98480d134b
11 files changed
+190
-219
No files matched your search
@@ -229,7 +229,12 @@ const toggleCineDialog = () => {
|
||||
|
||||
const toggleDownloadDialog = () => {
|
||||
stopActiveClip();
|
||||
OHIF.ui.showDialog('imageDownloadDialog');
|
||||
const $dialog = $('#imageDownloadDialog');
|
||||
if ($dialog.length) {
|
||||
$dialog.find('.close:first').click();
|
||||
} else {
|
||||
OHIF.ui.showDialog('imageDownloadDialog');
|
||||
}
|
||||
};
|
||||
|
||||
const isDownloadEnabled = () => {
|
||||
|
||||
Reference in new issue
Block a user