Demo OpenLab Debug off in manifold/static/js/manifold.js
[unfold.git] / manifold / static / js / manifold.js
index 726e68f..c4d0ef7 100644 (file)
@@ -364,8 +364,7 @@ var manifold = {
             // by default we publish using the same uuid of course
             if (publish_uuid==undefined) publish_uuid=query.query_uuid;
             if (manifold.asynchroneous_debug) {
-                messages.debug("sending POST on " + manifold.proxy_url + " to be published on " + publish_uuid);
-                messages.debug("... ctd... with actual query= " + query.__repr());
+                messages.debug("sending POST on " + manifold.proxy_url + query.__repr());
             }
 
             query.iter_subqueries(function (sq) {
@@ -731,6 +730,7 @@ var manifold = {
             if (publish_uuid)
                 $.publish("/results/" + publish_uuid + "/failed", [data.code, data.description] );
 
+/* DEMO - Debug Messages desactivated
             $("#notifications").notify("create", "sticky", {
               title: 'Warning',
               text: data.description
@@ -738,7 +738,7 @@ var manifold = {
               expires: false,
               speed: 1000
             });
-            
+*/            
         }
        if (manifold.asynchroneous_debug) 
            messages.debug ("========== asynchroneous_success " + query.object + " -- before process_query_records");
@@ -905,8 +905,10 @@ var manifold = {
                 manifold.run_query(query_ext.main_query_ext.update_query_ext.query);
                 break;
 
-            case FILTER_ADDED:
-                manifold.raise_query_event(query_uuid, event_type, value);
+            case FILTER_ADDED: 
+// Thierry - this is probably wrong but intended as a hotfix 
+// http://trac.myslice.info/ticket/32
+//                manifold.raise_query_event(query_uuid, event_type, value);
                 break;
             case FILTER_REMOVED:
                 manifold.raise_query_event(query_uuid, event_type, value);