Minor fixes to syntax

This commit is contained in:
Owen Stephens 2017-10-23 07:46:33 +01:00
parent 46c3ec100e
commit 47520d4a71

View File

@ -125,7 +125,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
{ {
columnName: column.name, columnName: column.name,
keyColumnName: theProject.columnModel.keyColumnName, keyColumnName: theProject.columnModel.keyColumnName,
separator: separator separator
}, },
null, null,
{ rowsChanged: true } { rowsChanged: true }
@ -161,7 +161,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
keyColumnName: theProject.columnModel.keyColumnName, keyColumnName: theProject.columnModel.keyColumnName,
mode: mode mode: mode
}; };
if (mode == "separator") { if (mode === "separator") {
config.separator = elmts.separatorInput[0].value; config.separator = elmts.separatorInput[0].value;
if (!(config.separator)) { if (!(config.separator)) {
alert($.i18n._('core-views')["specify-sep"]); alert($.i18n._('core-views')["specify-sep"]);
@ -198,13 +198,6 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
Refine.postCoreProcess( Refine.postCoreProcess(
"split-multi-value-cells", "split-multi-value-cells",
config, config,
/* Old config
{
columnName: column.name,
keyColumnName: theProject.columnModel.keyColumnName,
separator: separator,
mode: "plain"
},*/
null, null,
{ rowsChanged: true } { rowsChanged: true }
); );