web/data/cubicweb.edition.js
branchstable
changeset 4271 dfee17fa363f
parent 4217 bf2811a17a17
child 4279 e6b9fd79a247
child 4421 709bc9ea6d1e
equal deleted inserted replaced
4256:bf6e0e75acfa 4271:dfee17fa363f
   390 
   390 
   391 
   391 
   392 /* unfreeze form buttons when the validation process is over*/
   392 /* unfreeze form buttons when the validation process is over*/
   393 function unfreezeFormButtons(formid) {
   393 function unfreezeFormButtons(formid) {
   394     jQuery('#progress').hide();
   394     jQuery('#progress').hide();
   395     jQuery('#' + formid + ' input.validateButton').removeAttr('disabled');
   395     jQuery('#' + formid + ' .validateButton').removeAttr('disabled');
   396     return true;
   396     return true;
   397 }
   397 }
   398 
   398 
   399 /* disable form buttons while the validation is being done */
   399 /* disable form buttons while the validation is being done */
   400 function freezeFormButtons(formid) {
   400 function freezeFormButtons(formid) {
   401     jQuery('#progress').show();
   401     jQuery('#progress').show();
   402     jQuery('#' + formid + ' input.validateButton').attr('disabled', 'disabled');
   402     jQuery('#' + formid + ' .validateButton').attr('disabled', 'disabled');
   403     return true;
   403     return true;
   404 }
   404 }
   405 
   405 
   406 /* used by additional submit buttons to remember which button was clicked */
   406 /* used by additional submit buttons to remember which button was clicked */
   407 function postForm(bname, bvalue, formid) {
   407 function postForm(bname, bvalue, formid) {