From 3baf918f500f1719fc767ddda6c4edd925801e92 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 21 Aug 2017 16:33:38 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/sort.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui (gen4)/features/sort.js b/ui (gen4)/features/sort.js index 080e6ce2..756527b6 100755 --- a/ui (gen4)/features/sort.js +++ b/ui (gen4)/features/sort.js @@ -120,6 +120,7 @@ module.SortActions = actions.Actions({ 'name-sequence-overflow': function(){ var that = this + // gap and gap length... var gap = -1 var l = 0 @@ -147,6 +148,7 @@ module.SortActions = actions.Actions({ }) // rotate index blocks... + // XXX this does not work for lists without a gap -- one item gets pushed to the tail... if(l > 0){ var tail = lst.splice(gap+1, lst.length) lst = tail.concat(lst)