From 4a9b4d5fdc0d1abf870e9a81d7267ca5396fe6d2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 29 Jan 2017 00:58:25 +0300 Subject: [PATCH] minor tweaks... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/base.js | 27 ++++++++++++++------------- ui (gen4)/features/ui-widgets.js | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/ui (gen4)/features/base.js b/ui (gen4)/features/base.js index 218c8ab6..fc9cb1da 100755 --- a/ui (gen4)/features/base.js +++ b/ui (gen4)/features/base.js @@ -467,19 +467,8 @@ actions.Actions({ prevImage: ['Navigate/Previous image', core.doc`Focus previous image - Focus previous image... - .prevImage() - - Focus image at to the left... - .prevImage() - - Focus previous image in ... - .prevImage() - - Focus previous image globally... - .prevImage('global') - NOTE: this also modifies .direction + NOTE: this is .symmetrical to .nextImage(..) see it for docs. `, {browseMode: 'firstImage'}, function(a){ @@ -499,7 +488,19 @@ actions.Actions({ nextImage: ['Navigate/Next image', core.doc`Focus next image... - NOTE: this is .symmetrical to .prevImage(..) see it for docs. + Focus next image... + .nextImage() + + Focus image at to the right... + .nextImage() + + Focus next image in ... + .nextImage() + + Focus next image globally... + .nextImage('global') + + NOTE: this also modifies .direction `, {browseMode: 'lastImage'}, function(a){ diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index 6de775a4..ac1579bd 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -594,7 +594,7 @@ var DialogsActions = actions.Actions({ showDoc: ['Help/Action help...', makeUIDialog(function(actions){ var that = this - actions = actions || this.actions + actions = actions || this.actions.sort() actions = actions instanceof Array ? actions : [actions] var doc = this.getDoc(actions)