Style changes
authoragh1 <andrew@aghstrategies.com>
Tue, 30 Apr 2013 17:10:25 +0000 (14:10 -0300)
committeragh1 <andrew@aghstrategies.com>
Tue, 30 Apr 2013 17:10:25 +0000 (14:10 -0300)
templates/CRM/Member/Form/MembershipStandalone.js

index 163ffb5aedc1e57e4602d00f2c298cbef9f98b6b..b2a03d765e1b483b99f4cbddf7b13caa3810790c 100644 (file)
@@ -9,11 +9,11 @@ cj(function($) {
           checkExistingMemOrg();
         }
       }});
-      });
+    });
       
   checkExistingMemOrg();
 
-  $("select[name='membership_type_id[0]']").change(function() { checkExistingMemOrg(); });
+  $("select[name='membership_type_id[0]']").change( checkExistingMemOrg );
 
   function checkExistingMemOrg () {
     if (memberResults) {
@@ -26,7 +26,7 @@ cj(function($) {
               var andEndDate = '';
               var endDate = this.membership_end_date;
               if (endDate) {
-                andEndDate = ts(" and end date of %1", {1:endDate});
+                andEndDate = ' ' + ts("and end date of %1", {1:endDate});
               }
               
               var renewUrl = CRM.url('civicrm/contact/view/membership',