Merge pull request #4696 from colemanw/CRM-15669
[civicrm-core.git] / templates / CRM / Pledge / Form / Payment.tpl
index 510ba78d8296d572e48b914f7eebfd3c40736be1..abde66dd2b1cde5b058b988c2bdcb49d1168377e 100644 (file)
@@ -1,6 +1,6 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -24,7 +24,6 @@
  +--------------------------------------------------------------------+
 *}
 {* this template is used for updating pledge payment*}
-<h3>{ts}Edit Scheduled Pledge Payment{/ts}</h3>
 <div class="crm-block crm-form-block crm-pledge-payment-form-block">
       <table class="form-layout-compressed">
         <tr><td class="label">{ts}Status{/ts}</td><td class="form-layout">{$status}</td></tr>
 </div>
 {literal}
 <script type="text/javascript">
-cj(document).ready( function() {
-    cj('#adjust-option-type').hide();
-});
-function adjustPayment( ) {
-cj('#adjust-option-type').show();
-cj("#scheduled_amount").removeAttr("READONLY");
-cj("#scheduled_amount").css('background-color', '#ffffff');
-}
+  CRM.$(function($) {
+    $('#adjust-option-type').hide();
+  });
+  function adjustPayment( ) {
+    cj('#adjust-option-type').show();
+    cj("#scheduled_amount").removeAttr("READONLY").css('background-color', '#ffffff');
+  }
 </script>
 {/literal}