web/data/cubicweb.edition.js
changeset 4279 e6b9fd79a247
parent 4274 4601ba407ed6
parent 4271 dfee17fa363f
child 4378 785c56bdacc6
--- a/web/data/cubicweb.edition.js	Wed Jan 20 10:06:53 2010 +0100
+++ b/web/data/cubicweb.edition.js	Wed Jan 20 10:10:17 2010 +0100
@@ -399,14 +399,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;
 }