Revert "Merge branch 'medken' of https://github.com/OHIF/Viewers"
This reverts commit2be7a9bd2f, reversing changes made tof839c60a68.
This commit is contained in:
1 parent
2be7a9bd2f
commit
fa43580b2c
12 files changed
+557
-944
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
<template name="hangingProtocolButtons">
|
||||
<button id="previousPresentationGroup" type="button"
|
||||
class="btn btn-sm btn-default"
|
||||
class="imageViewerCommand btn btn-sm btn-default"
|
||||
data-container="body"
|
||||
data-toggle="tooltip"
|
||||
data-placement="bottom"
|
||||
@@ -9,7 +9,7 @@
|
||||
<span class="fa fa-step-backward"></span>
|
||||
</button>
|
||||
<button id="nextPresentationGroup" type="button"
|
||||
class="btn btn-sm btn-default"
|
||||
class="imageViewerCommand btn btn-sm btn-default"
|
||||
data-container="body"
|
||||
data-toggle="tooltip"
|
||||
data-placement="bottom"
|
||||
|
||||
+1
-12
@@ -1,7 +1,7 @@
|
||||
Template.hangingProtocolButtons.helpers({
|
||||
isNextAvailable: function() {
|
||||
var presentationGroup = Session.get('WindowManagerPresentationGroup');
|
||||
var numPresentationGroups = Session.get('WindowManagerNumPresentationGroups');
|
||||
var numPresentationGroups = WindowManager.getNumPresentationGroups();
|
||||
return presentationGroup < numPresentationGroups;
|
||||
},
|
||||
isPreviousAvailable: function() {
|
||||
@@ -9,14 +9,3 @@ Template.hangingProtocolButtons.helpers({
|
||||
return presentationGroup > 1;
|
||||
}
|
||||
});
|
||||
|
||||
Template.hangingProtocolButtons.events({
|
||||
'click #previousPresentationGroup': function(e) {
|
||||
$(e.currentTarget).tooltip('hide');
|
||||
WindowManager.previousPresentationGroup();
|
||||
},
|
||||
'click #nextPresentationGroup': function(e) {
|
||||
$(e.currentTarget).tooltip('hide');
|
||||
WindowManager.nextPresentationGroup();
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user