Add PageUp and PageDown to hotkeys, Target-first sorting for lesion table

This commit is contained in:
Erik Ziegler 2016-01-09 23:25:35 +01:00
parent 96ddd36151
commit 41baf1c737
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
Template.lesionTable.helpers({ Template.lesionTable.helpers({
'measurement': function() { 'measurement': function() {
// All Targets shall be listed first followed by Non-Targets
return Measurements.find({}, { return Measurements.find({}, {
sort: { sort: {
isTarget: -1,
lesionNumberAbsolute: 1 lesionNumberAbsolute: 1
} }
}); });

View File

@ -12,8 +12,8 @@ Meteor.startup(function() {
stackScroll: "S", stackScroll: "S",
pan: "P", pan: "P",
magnify: "M", magnify: "M",
scrollDown: "DOWN", scrollDown: ["DOWN", "PAGEDOWN"],
scrollUp: "UP", scrollUp: ["UP", "PAGEUP"],
nextPanel: "RIGHT", nextPanel: "RIGHT",
previousPanel: "LEFT", previousPanel: "LEFT",
invert: "I", invert: "I",