various cleanup
[unfold.git] / plugins / queryupdater / static / js / queryupdater.js
index ebfa6eb..abcd2d7 100644 (file)
 
         do_reset: function(e)
         {
-            throw 'resources_selected.do_reset Not implemented';
+            throw 'queryupdater.do_reset Not implemented';
         },
 
         do_clear_annotations: function(e)
         {
-            throw 'resources_selected.do_clear_annotations Not implemented';
+            throw 'queryupdater.do_clear_annotations Not implemented';
         },
         
         /************************** GUI MANIPULATION **************************/
             var row;
            
            // make sure the change is visible : toggle on the whole plugin
-           // this might hae to be made an 'auto-toggle' option of this plugin..
+           // this might have to be made an 'auto-toggle' option of this plugin..
            // also it might be needed to be a little finer-grained here
            this.toggle_on();
            
 
         on_field_state_changed: function(result)
         {
-            console.log(result)
+            messages.debug(result)
             /* this.set_state(result.request, result.key, result.value, result.status); */
             this.set_state(result);
         },
 
         update_resources: function(resources, change)
         {
-            console.log("update_resources");
+            messages.debug("update_resources");
             var my_oTable = this.table.dataTable();
             var prev_resources = this.current_resources;