If no column display settings from app or preferences, display all columns

This commit is contained in:
Nathan Gray 2013-02-07 15:46:36 +00:00
parent 52ac0dd0b3
commit ca3536bf25

View File

@ -335,6 +335,13 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], {
}
}
// If no column preference or default set, use all columns
if(typeof columnPreference =="string" && columnPreference.length == 0)
{
columnDisplay = {};
negated = true;
}
var columnDisplay = typeof columnPreference === "string"
? et2_csvSplit(columnPreference,null,",") : columnPreference;