----------------------------------------
* CRM-13377: "Send email" produces double "Processing" button
http://issues.civicrm.org/jira/browse/CRM-13377
//do not copy & paste this - find a way to generalise it
'use strict';
$().crmAccordions();
- $('.form-submit').on("click", function() {
- $('.form-submit').attr({value: ts('Processing'), disabled: 'disabled'});
+ // NOTE: Might be safer to say $('[name=_qf_Email_upload]')
+ $('.form-submit').not('.cancel').on("click", function() {
+ $('.form-submit').not('.cancel').attr({value: ts('Processing'), disabled: 'disabled'});
});
});