From 14292a5c4541b04107f0aa7391dd67c512797ce1 Mon Sep 17 00:00:00 2001 From: agh1 Date: Tue, 30 Apr 2013 14:12:01 -0300 Subject: [PATCH] minor style changes --- templates/CRM/Member/Form/Membership.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Member/Form/Membership.js b/templates/CRM/Member/Form/Membership.js index dd8db8ca9f..ca5920542a 100644 --- a/templates/CRM/Member/Form/Membership.js +++ b/templates/CRM/Member/Form/Membership.js @@ -1,7 +1,7 @@ cj(function($) { checkExistingMemOrg(); - $("select[name='membership_type_id[0]']").change(function() { checkExistingMemOrg(); }); + $("select[name='membership_type_id[0]']").change( checkExistingMemOrg ); function checkExistingMemOrg () { var selectedorg = $("select[name='membership_type_id[0]']").val(); @@ -9,7 +9,7 @@ cj(function($) { var andEndDate = ''; var endDate = CRM.existingMems.memberorgs[selectedorg].membership_end_date; if (endDate) { - andEndDate = ts(" and end date of %1", {1:endDate}); + andEndDate = ' ' + ts("and end date of %1", {1:endDate}); } CRM.alert(ts('This contact has an existing %1 membership record with %2 status%3.', {1:CRM.existingMems.memberorgs[selectedorg].membership_type, 2:CRM.existingMems.memberorgs[selectedorg].membership_status, 3:andEndDate, 4:CRM.existingMems.memberorgs[selectedorg].renewUrl, 5:CRM.existingMems.memberorgs[selectedorg].membershipTab}), ts('Duplicate Membership?'), 'alert'); } -- 2.25.1