JS cleanup
authorColeman Watts <coleman@civicrm.org>
Fri, 15 Aug 2014 13:14:00 +0000 (14:14 +0100)
committerColeman Watts <coleman@civicrm.org>
Fri, 15 Aug 2014 13:14:00 +0000 (14:14 +0100)
templates/CRM/Contact/Form/Task.tpl
templates/CRM/Contribute/Form/ContributionPage/Amount.tpl
templates/CRM/Mailing/Form/Count.tpl

index 3d00eeb0d7da8b49bd829ef404494051586eb306..d501cb1c8206c4ca50dd8617337e2cb12d883c07 100644 (file)
   CRM.$(function($) {
     $("#popupContainer").css({
       "background-color":"#E0E0E0",
-      'display':'none',
+      'display':'none'
     });
 
     $("#popup-button").click(function() {
       $("#popupContainer").dialog({
-        title: "Selected Contacts",
+        title: {/literal}"{ts escape='js'}Selected Contacts{/ts}"{literal},
         width:700,
         height:500,
         modal: true,
index 161b04479812f26123d27a27ca351052ab3e9d0a..cd0d4e4f39868ee0d85f55ec8c9767e3f8c93045 100644 (file)
        {/if}
      {literal}
      CRM.$(function($) {
-       $("#popupContainer").hide();
        function checked_payment_processors() {
          var ids = [];
          $('.crm-contribution-contributionpage-amount-form-block-payment_processor input[type="checkbox"]').each(function(){
index 6c6b74c5580746fe57ad0b38637ff2a2db6fbc16..55c170945f1d2c187e7d73443a519c1530922a18 100644 (file)
@@ -54,7 +54,7 @@
     $("#popupContainer").hide();
     $("#button").click(function() {
       $("#popupContainer").dialog({
-        title: "Selected Contacts",
+        title: {/literal}"{ts escape='js'}Selected Contacts{/ts}"{literal},
         width:700,
         height:500,
         modal: true