Using the new time point browser on the sidebar
This commit is contained in:
1 parent
fd9cfed8e9
commit
d721c0dbde
13 files changed
+164
-72
No files matched your search
@@ -20,12 +20,13 @@ Template.studyBrowserItem.events({
|
||||
const { studyClickCallback, studyInformation } = instance.data;
|
||||
const element = event.currentTarget.parentElement;
|
||||
const $element = $(element);
|
||||
$element.trigger('ohif.studies.study.click', studyInformation);
|
||||
|
||||
const triggerClickCallback = () => {
|
||||
if (typeof studyClickCallback === 'function') {
|
||||
studyClickCallback(studyInformation, element);
|
||||
}
|
||||
|
||||
$element.trigger('ohif.studies.study.click', studyInformation);
|
||||
};
|
||||
|
||||
if (instance.loaded) {
|
||||
|
||||
Reference in new issue
Block a user