From 47520d4a71b50df157be2c1943a82e0ae5b6b847 Mon Sep 17 00:00:00 2001 From: Owen Stephens Date: Mon, 23 Oct 2017 07:46:33 +0100 Subject: [PATCH] Minor fixes to syntax --- .../core/scripts/views/data-table/menu-edit-cells.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/main/webapp/modules/core/scripts/views/data-table/menu-edit-cells.js b/main/webapp/modules/core/scripts/views/data-table/menu-edit-cells.js index f829af812..d3224ab88 100644 --- a/main/webapp/modules/core/scripts/views/data-table/menu-edit-cells.js +++ b/main/webapp/modules/core/scripts/views/data-table/menu-edit-cells.js @@ -125,7 +125,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) { { columnName: column.name, keyColumnName: theProject.columnModel.keyColumnName, - separator: separator + separator }, null, { rowsChanged: true } @@ -161,7 +161,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) { keyColumnName: theProject.columnModel.keyColumnName, mode: mode }; - if (mode == "separator") { + if (mode === "separator") { config.separator = elmts.separatorInput[0].value; if (!(config.separator)) { alert($.i18n._('core-views')["specify-sep"]); @@ -198,13 +198,6 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) { Refine.postCoreProcess( "split-multi-value-cells", config, -/* Old config - { - columnName: column.name, - keyColumnName: theProject.columnModel.keyColumnName, - separator: separator, - mode: "plain" - },*/ null, { rowsChanged: true } );