X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=engine%2Fstatic%2Fjs%2Fmanifold-async.js;h=fe04d89378149027ed1b067d46a08eddafd22b98;hb=ed83c34a12ada274e6ac7c17c95a252b57a685a3;hp=75287b276d691ac71e15e8e3e7bbb1a25bd83eb2;hpb=6ee5cf51bf467560e4566b2b7bfa8e22dfff0784;p=unfold.git diff --git a/engine/static/js/manifold-async.js b/engine/static/js/manifold-async.js index 75287b27..fe04d893 100644 --- a/engine/static/js/manifold-async.js +++ b/engine/static/js/manifold-async.js @@ -9,7 +9,7 @@ var api_url = '/manifold/api/json/' function manifold_async_exec(queries) { if (manifold_async_debug) console.log('manifold_async_exec length='+ queries.length); // start spinners - jQuery('.plugin-toggle').spin(); + jQuery('.need-spin').spin(); // We use js function closure to be able to pass the query (array) to the // callback function used when data is received @@ -25,12 +25,12 @@ function manifold_async_exec(queries) { }) } -/* +/* not used function manifold_async_error(str) { var out = '

Error

Notice
  • ' + jQuery('
    ').text(str).html() + '
'; jQuery('#manifold_message').html(out); //onObjectAvailable('Spinners', function(){ Spinners.get('.loading').remove(); }, this, true); - jQuery('.plugin-toggle').spin(false); + jQuery('.need-spin').spin(false); } */