mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
bug global_tabvar seems solved:
Caused by a race condition, Just switched two functions execution
This commit is contained in:
parent
6f4bfeb4ef
commit
9a34a587cc
1 changed files with 14 additions and 0 deletions
|
@ -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
|
// Plot and update the number of processed pastes
|
||||||
$(function() {
|
$(function() {
|
||||||
var data = [];
|
var data = [];
|
||||||
|
|
Loading…
Reference in a new issue