actually use spin_presets - make it red
[unfold.git] / manifold / js / manifold.js
index c773aed..88b9482 100644 (file)
@@ -44,7 +44,9 @@ var manifold = {
     // input queries are specified as a list of {'query_uuid': <query_uuid>, 'id': <possibly null>}
     asynchroneous_exec : function (query_uuid_domids) {
        // start spinners
-       jQuery('.need-spin').spin();
+
+       if (manifold.asynchroneous_exec) console.log("Turning spin on with " + jQuery(".need-spin").length + " matches for need-spin");
+       jQuery('.need-spin').spin(spin_presets);
        
        // We use js function closure to be able to pass the query (array) to the
        // callback function used when data is received