bug global_tabvar seems solved:

Caused by a race condition, Just switched two functions execution
This commit is contained in:
Mokaddem 2016-07-21 14:53:34 +02:00
parent 6f4bfeb4ef
commit 9a34a587cc

View file

@ -1,3 +1,17 @@
function initfunc( csvay, scroot) {
window.csv = csvay;
window.scroot = scroot;
};
function update_values() {
$SCRIPT_ROOT = window.scroot ;
$.getJSON($SCRIPT_ROOT+"/_stuff",
function(data) {
window.glob_tabvar = data;
});
};
// Plot and update the number of processed pastes
$(function() {
var data = [];