Skip to content
Snippets Groups Projects
Commit bc5c61a7 authored by juanf's avatar juanf
Browse files

SSDM-180 : PAPER/PETER - ELN UI - Storing tables configuration by user (Pair programming)

SVN: 33717
parent 1fb2ae52
No related branches found
No related tags found
No related merge requests found
......@@ -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");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment