diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js index 9a10d837976d7c7d62bb67201aa477bb27a45b0c..a359024aa3ff49507ba8cb6246895b3fec4a9186 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/lib/grid/js/Grid.js @@ -63,7 +63,7 @@ $.extend(Grid.prototype, { .attr("value", column.property) .attr("style", "margin-left: 5px;"); - if(thisGrid.columnsToShow) { + if(thisGrid.columnsToShow && Object.keys(thisGrid.columnsToShow).length !== 0) { if((thisGrid.columnsToShow[column.property] === true)) { //If settings are present checkbox.attr("checked", "checked"); }