aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/static/new/javascript/table_functions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/table_functions.js b/wqflask/wqflask/static/new/javascript/table_functions.js
index 22732397..ea2cf60c 100644
--- a/wqflask/wqflask/static/new/javascript/table_functions.js
+++ b/wqflask/wqflask/static/new/javascript/table_functions.js
@@ -26,7 +26,7 @@ getCheckedRows = function(tableId){
return checkedRows
}
-function setUserColumnsDefWidths(tableId) {
+function setUserColumnsDefWidths(tableId, columnDefs) {
var userColumnDef;
// Get the settings for this table from localStorage
@@ -57,6 +57,8 @@ function setUserColumnsDefWidths(tableId) {
})
}
});
+
+ return columnDefs
}
function saveColumnSettings(tableId, traitTable) {