web/data/cubicweb.edition.js
changeset 977 d8bb6209edcd
parent 0 b97547f5f1fa
child 992 d5fe2626695b
equal deleted inserted replaced
976:84884807b77b 977:d8bb6209edcd
   400     return true;
   400     return true;
   401 }
   401 }
   402 
   402 
   403 /* disable form buttons while the validation is being done */
   403 /* disable form buttons while the validation is being done */
   404 function freezeFormButtons(formid) {
   404 function freezeFormButtons(formid) {
   405     var formbuttons = jQuery(formid + ' input.validateButton');
       
   406     jQuery('#progress').show();
   405     jQuery('#progress').show();
   407     jQuery(formid + ' input.validateButton').attr('disabled', 'disabled');
   406     jQuery('#' + formid + ' input.validateButton').attr('disabled', 'disabled');
   408     return true;
   407     return true;
   409 }
   408 }
   410 
   409 
   411 /* used by additional submit buttons to remember which button was clicked */
   410 /* used by additional submit buttons to remember which button was clicked */
   412 function postForm(bname, bvalue, formid) {
   411 function postForm(bname, bvalue, formid) {