aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-07-27 18:32:35 +0000
committerzsloan2022-07-27 18:32:35 +0000
commit467603f6f1891dd79f39909b8ef7640f53b7e65f (patch)
treece231aaa2ce9854af9dbc22881dea20b4ecf4587 /wqflask
parentfe25fee2b74be85e094a3c5a430114a7f02e578d (diff)
downloadgenenetwork2-467603f6f1891dd79f39909b8ef7640f53b7e65f.tar.gz
Set default value for tableId parameter in creatae_table, since most tables will have this ID
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/create_datatable.js2
1 files changed, 1 insertions, 1 deletions
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)