web/data/cubicweb.edition.js
branchstable
changeset 4271 dfee17fa363f
parent 4217 bf2811a17a17
child 4279 e6b9fd79a247
child 4421 709bc9ea6d1e
--- a/web/data/cubicweb.edition.js	Wed Dec 16 14:19:01 2009 +0100
+++ b/web/data/cubicweb.edition.js	Tue Jan 19 18:20:43 2010 +0100
@@ -392,14 +392,14 @@
 /* unfreeze form buttons when the validation process is over*/
 function unfreezeFormButtons(formid) {
     jQuery('#progress').hide();
-    jQuery('#' + formid + ' input.validateButton').removeAttr('disabled');
+    jQuery('#' + formid + ' .validateButton').removeAttr('disabled');
     return true;
 }
 
 /* disable form buttons while the validation is being done */
 function freezeFormButtons(formid) {
     jQuery('#progress').show();
-    jQuery('#' + formid + ' input.validateButton').attr('disabled', 'disabled');
+    jQuery('#' + formid + ' .validateButton').attr('disabled', 'disabled');
     return true;
 }