mirror of https://github.com/CIRCL/AIL-framework
Tryed to fix the glob_tabvar bug
parent
07ad13a439
commit
50d2848a40
|
@ -219,6 +219,11 @@ function create_queue_table() {
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
if (typeof glob_tabvar == "undefined")
|
||||||
|
location.reload();
|
||||||
|
if (typeof glob_tabvar.row1 == "undefined")
|
||||||
|
location.reload();
|
||||||
|
|
||||||
var data = [];
|
var data = [];
|
||||||
var data2 = [];
|
var data2 = [];
|
||||||
var tmp_tab = [];
|
var tmp_tab = [];
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
<script src="{{ url_for('static', filename='js/jquery.flot.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/jquery.flot.js') }}"></script>
|
||||||
<script>
|
<script>
|
||||||
window.default_minute = {{ default_minute }};
|
window.default_minute = {{ default_minute }};
|
||||||
|
window.glob_tabvar = []; // Avoid undefined
|
||||||
function update_values() {
|
function update_values() {
|
||||||
$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
|
$SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
|
||||||
$.getJSON($SCRIPT_ROOT+"/_stuff",
|
$.getJSON($SCRIPT_ROOT+"/_stuff",
|
||||||
|
|
Loading…
Reference in New Issue