X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fvalidatebutton%2Fstatic%2Fjs%2Fvalidatebutton.js;fp=plugins%2Fvalidatebutton%2Fstatic%2Fjs%2Fvalidatebutton.js;h=e8cda230a5ec3c4e47340e73fdbded615d94def8;hb=ce541420d46bb4343b9803770ea39987321b3083;hp=42220ddec863da6e2df1ecfc83b264ae3aa07e76;hpb=d69ebaca198cc1fc7884a95753369b43779ec52b;p=unfold.git diff --git a/plugins/validatebutton/static/js/validatebutton.js b/plugins/validatebutton/static/js/validatebutton.js index 42220dde..e8cda230 100644 --- a/plugins/validatebutton/static/js/validatebutton.js +++ b/plugins/validatebutton/static/js/validatebutton.js @@ -17,14 +17,18 @@ // Could be the default in parent on_query_in_progress: function() { - this.spin(); + var presets = spin_presets(); + presets.radius=5; + presets.length=4; + presets.lines=7; + presets.width=2; + this.spin(presets); }, // we have received at least one answer: we'll do something on_new_record: function (record) { // we only need to act on the first record if (this.triggered) return; - if (debug) messages.debug("validatebutton.on_query_done - turning on "+this.options.button_domid); $('#'+this.options.button_domid).removeClass('disabled'); this.unspin(); this.triggered=true;