bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-02-08 02:58:02 +03:00
parent 277f5c25e5
commit 9e46e7dbab

View File

@ -625,6 +625,8 @@ function(data, options){
// - indicator that the dialog handlers are set up // - 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 // NOTE: this uses .List(..) internally, see it's doc for additional
// info. // info.
// NOTE: the list must contain strings. // NOTE: the list must contain strings.
@ -765,7 +767,7 @@ function(list, options){
: options.to_bottom_button, : options.to_bottom_button,
function(p, e){ function(p, e){
var d = move(p, dialog.__list[id].length) 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( REMOVE: Buttons.markForRemoval(
to_remove, to_remove,