AWV-1: Preventing looping on display set navigation

This commit is contained in:
Bruno Alves de Faria committed 2016-09-01 16:17:43 -03:00
1 parent 17f8d87d32
commit 8145e08f66
5 files changed
+54 -9

No files matched your search

@@ -3,10 +3,16 @@ import { Template } from 'meteor/templating';
Template.displaySetNavigation.events({
'click .js-next'(event, instance) {
OHIF.viewer.moveDisplaySet(true);
OHIF.viewer.moveDisplaySets(true);
},
'click .js-prev'(event, instance) {
OHIF.viewer.moveDisplaySet(false);
OHIF.viewer.moveDisplaySets(false);
}
});
Template.displaySetNavigation.helpers({
disableButton(isPrevious) {
}
});