fix js typo CRM-13331
authorColeman Watts <coleman@civicrm.org>
Wed, 11 Sep 2013 14:09:58 +0000 (09:09 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 11 Sep 2013 14:09:58 +0000 (09:09 -0500)
----------------------------------------
* CRM-13331: emails can be 'double-sent' from search action
  http://issues.civicrm.org/jira/browse/CRM-13331

templates/CRM/Contact/Form/Task/EmailCommon.js

index 3be5ae8ab2f1869dc0725bd61c94f6b8d5a8b2e2..769e7dc48af64346ec5abe255343a42f3c9ea686 100644 (file)
@@ -2,7 +2,7 @@ cj(function ($) {
   //do not copy & paste this - find a way to generalise it
   'use strict';
    $().crmAccordions();
-   $('.form-submit').on("click", function(event){
-     $('.form-submit').attr({value: ts('Processing'), disabled: 'disabled});
+   $('.form-submit').on("click", function({
+     $('.form-submit').attr({value: ts('Processing'), disabled: 'disabled'});
    });
 });