From 55d99497e6d3cf9e45b8bc44d8211a47d857fc7b Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 11 Sep 2013 09:09:58 -0500 Subject: [PATCH] fix js typo CRM-13331 ---------------------------------------- * 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Contact/Form/Task/EmailCommon.js b/templates/CRM/Contact/Form/Task/EmailCommon.js index 3be5ae8ab2..769e7dc48a 100644 --- a/templates/CRM/Contact/Form/Task/EmailCommon.js +++ b/templates/CRM/Contact/Form/Task/EmailCommon.js @@ -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'}); }); }); -- 2.25.1