Implementing disabled handling for commands

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2017-06-14 09:19:49 +02:00
1 parent 1a0729336b
commit 8aac5dc47d
13 files changed
+85 -117

No files matched your search

+3 -1
View File
@@ -87,17 +87,19 @@ natestrauser:select2@4.0.3
npm-bcrypt@0.9.2
npm-mongo@2.2.11_2
observe-sequence@1.0.14
ohif:polyfill@0.0.1
ohif:commands@0.0.1
ohif:core@0.0.1
ohif:cornerstone@0.0.1
ohif:design@0.0.1
ohif:dicom-services@0.0.1
ohif:hanging-protocols@0.0.1
ohif:header@0.0.1
ohif:hotkeys@0.0.1
ohif:lesiontracker@0.0.1
ohif:log@0.0.1
ohif:measurements@0.0.1
ohif:metadata@0.0.1
ohif:polyfill@0.0.1
ohif:select-tree@0.0.1
ohif:study-list@0.0.1
ohif:themes@0.0.1
@@ -141,8 +141,8 @@ Template.toolbarSection.helpers({
id: 'toggleCineDialog',
title: 'CINE',
classes: 'imageViewerCommand',
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-cineplay-toggle',
disableFunction: Viewerbase.viewportUtils.hasMultipleFrames
iconClasses: 'fa fa-youtube-play',
active: () => $('#cineDialog').is(':visible')
});
const buttonData = [];