From 467603f6f1891dd79f39909b8ef7640f53b7e65f Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 27 Jul 2022 18:32:35 +0000 Subject: Set default value for tableId parameter in creatae_table, since most tables will have this ID --- wqflask/wqflask/static/new/javascript/create_datatable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/static/new/javascript/create_datatable.js b/wqflask/wqflask/static/new/javascript/create_datatable.js index 2953655c..8f24df1e 100644 --- a/wqflask/wqflask/static/new/javascript/create_datatable.js +++ b/wqflask/wqflask/static/new/javascript/create_datatable.js @@ -1,4 +1,4 @@ -create_table = function(tableId, tableData = [], columnDefs = [], customSettings = {}) { +create_table = function(tableId="trait_table", tableData = [], columnDefs = [], customSettings = {}) { loadDataTable(tableId=tableId, tableData=tableData, customSettings, firstRun=true) -- cgit v1.2.3