web/data/cubicweb.edition.js
changeset 977 d8bb6209edcd
parent 0 b97547f5f1fa
child 992 d5fe2626695b
--- a/web/data/cubicweb.edition.js	Thu Feb 26 13:31:29 2009 +0100
+++ b/web/data/cubicweb.edition.js	Thu Feb 26 13:45:14 2009 +0100
@@ -402,9 +402,8 @@
 
 /* disable form buttons while the validation is being done */
 function freezeFormButtons(formid) {
-    var formbuttons = jQuery(formid + ' input.validateButton');
     jQuery('#progress').show();
-    jQuery(formid + ' input.validateButton').attr('disabled', 'disabled');
+    jQuery('#' + formid + ' input.validateButton').attr('disabled', 'disabled');
     return true;
 }