From 9e46e7dbab2a6912da2da90c67c645863aee69c9 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 8 Feb 2017 02:58:02 +0300 Subject: [PATCH] bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index 8e6b8980..ddf36950 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -625,6 +625,8 @@ function(data, options){ // - indicator that the dialog handlers are set up // // +// NOTE: if at least one order button is present this will set +// .groupList to true // NOTE: this uses .List(..) internally, see it's doc for additional // info. // NOTE: the list must contain strings. @@ -765,7 +767,7 @@ function(list, options){ : options.to_bottom_button, function(p, e){ var d = move(p, dialog.__list[id].length) - d && e.nextAll().eq(Math.abs(d)).before(e) + d && e.nextAll().eq(Math.abs(d-1)).after(e) }], REMOVE: Buttons.markForRemoval( to_remove,