X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fqueryupdater%2Fstatic%2Fjs%2Fqueryupdater.js;fp=plugins%2Fqueryupdater%2Fstatic%2Fjs%2Fqueryupdater.js;h=b00f04fd00b4b785a88888d87b62b43fc7ea5ff5;hb=91dec1137db6f3b461ab40542f06b5fa93a2efa5;hp=abcd2d7fc833256e2a6a81099011e5110937400c;hpb=5401c1b857fae502f5b49ce869ea943d8607e2bf;p=myslice.git diff --git a/plugins/queryupdater/static/js/queryupdater.js b/plugins/queryupdater/static/js/queryupdater.js index abcd2d7f..b00f04fd 100644 --- a/plugins/queryupdater/static/js/queryupdater.js +++ b/plugins/queryupdater/static/js/queryupdater.js @@ -11,6 +11,9 @@ (function( $ ){ + var debug=false; + debug=true; + // XXX record selected (multiple selection ?) // XXX record disabled ? // XXX out of sync plugin ? @@ -25,8 +28,8 @@ var QueryUpdater = Plugin.extend({ - init: function(options, element) - { + init: function(options, element) { + this.classname="queryupdater"; this._super(options, element); var self = this; @@ -65,8 +68,7 @@ /***************************** GUI EVENTS *****************************/ - do_update: function(e) - { + do_update: function(e) { var self = e.data; // XXX check that the query is not disabled manifold.raise_event(self.options.query_uuid, RUN_UPDATE); @@ -268,6 +270,7 @@ on_query_in_progress: function() { + messages.debug("queryupdater.on_query_in_progress"); this.spin(); },