Merge pull request #1042 from RefinePro/issue-1021

fix issue #1021 Move Column Right doesn't work
This commit is contained in:
magdmartin 2015-09-20 09:20:18 -04:00
commit 92650af68f

View File

@ -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",
{