--- 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;
}