Most JS files, all helpers and simple reconciliations

This commit is contained in:
Emanuel F. Oliveira committed 2017-01-29 22:11:17 -02:00
1 parent 21400c5836
commit 9e69c43dda
58 files changed
+776 -1025

No files matched your search

@@ -1,5 +1,6 @@
import { Template } from 'meteor/templating';
import { Session } from 'meteor/session';
import { Viewerbase } from 'meteor/ohif:viewerbase';
Template.toolbarSection.helpers({
// Returns true if the view shall be split in two viewports
@@ -141,7 +142,7 @@ Template.toolbarSection.helpers({
title: 'CINE',
classes: 'imageViewerCommand',
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-cineplay-toggle',
disableFunction: hasMultipleFrames
disableFunction: Viewerbase.viewportUtils.hasMultipleFrames
});
const buttonData = [];
@@ -168,11 +169,11 @@ Template.toolbarSection.helpers({
});
buttonData.push({
id: 'link',
id: 'linkStackScroll',
title: 'Link',
classes: 'imageViewerCommand toolbarSectionButton nonAutoDisableState',
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-link',
disableFunction: isStackScrollLinkingDisabled
disableFunction: Viewerbase.viewportUtils.isStackScrollLinkingDisabled
});
buttonData.push({