Adding Metadata classes to Lesion Tracker (WIP) and some fixed;

This commit is contained in:
Eloízio Salgado authored and Emanuel F. Oliveira committed 2017-01-29 22:11:17 -02:00
1 parent 4ceba29164
commit e693d48dbe
5 files changed
+19 -11

No files matched your search

@@ -9,11 +9,11 @@ Template.toolbarSection.helpers({
Session.get('LayoutManagerUpdated');
// Stops here if layout manager is not defined yet
if (!window.layoutManager) {
if (!Viewerbase.layoutManager) {
return;
}
return window.layoutManager.viewportData.length > 1;
return Viewerbase.layoutManager.viewportData.length > 1;
},
leftSidebarToggleButtonData() {
@@ -217,7 +217,7 @@ Template.toolbarSection.events({
'click #toggleTarget'(event, instance) {
const $target = $(event.currentTarget);
if (!$target.hasClass('active') && $target.hasClass('expanded')) {
toolManager.setActiveTool('bidirectional');
Viewerbase.toolManager.setActiveTool('bidirectional');
}
},