Using the new time point browser on the sidebar

This commit is contained in:
Bruno Alves de Faria committed 2017-10-25 22:18:42 -02:00
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) {