From 50d2848a40eaa402b7020d851077b6e61215ea80 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Tue, 2 Aug 2016 16:39:57 +0200 Subject: [PATCH] Tryed to fix the glob_tabvar bug --- var/www/static/js/indexjavascript.js | 5 +++++ var/www/templates/index.html | 1 + 2 files changed, 6 insertions(+) diff --git a/var/www/static/js/indexjavascript.js b/var/www/static/js/indexjavascript.js index 7fd463f7..981bb130 100644 --- a/var/www/static/js/indexjavascript.js +++ b/var/www/static/js/indexjavascript.js @@ -219,6 +219,11 @@ function create_queue_table() { } $(document).ready(function () { + if (typeof glob_tabvar == "undefined") + location.reload(); + if (typeof glob_tabvar.row1 == "undefined") + location.reload(); + var data = []; var data2 = []; var tmp_tab = []; diff --git a/var/www/templates/index.html b/var/www/templates/index.html index 82448ab7..d12adfa4 100644 --- a/var/www/templates/index.html +++ b/var/www/templates/index.html @@ -18,6 +18,7 @@