From 6181224b220d03bf508081e64dc8719f524f6aa7 Mon Sep 17 00:00:00 2001 From: jackyq2015 Date: Fri, 24 Jul 2015 21:24:41 -0400 Subject: [PATCH] fix issue #1021 Move Column Right doesn't work --- .../modules/core/scripts/views/data-table/menu-edit-column.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js b/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js index 24d7e2bb8..2943b2b36 100644 --- a/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js +++ b/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js @@ -184,7 +184,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) { var doMoveColumnBy = function(change) { var newidx = Refine.columnNameToColumnIndex(column.name) + change; - if (newidx > 0 && newidx < Refine.columnNameToColumnIndex(column.name)) { + if (newidx >= 0) { Refine.postCoreProcess( "move-column", {