diff --git a/app/assets/javascripts/OQS.js b/app/assets/javascripts/OQS.js index 7967f8a1..9001bae3 100755 --- a/app/assets/javascripts/OQS.js +++ b/app/assets/javascripts/OQS.js @@ -78,12 +78,15 @@ $(document).on('turbolinks:load', function() { } } - if (data[field]["table_type"]=null) { - table_type = data[field]["table_type"] +'-'+data[field]["zone"] - }else{ - table_type = "No Table" - - } + var table_type = ''; + + if (data[field]["table_type"]=null) { + table_type = data[field]["table_type"] +'-'+data[field]["zone"] + }else{ + table_type = "No Table" + + } + row ='