Merge remote-tracking branch 'upstream/4.4' into 4.4-4.5-2014-09-08-20-42-29
[civicrm-core.git] / templates / CRM / Campaign / Form / Petition.tpl
index 10ee9d709090f976c4d6df5123d2655193120782..4dc49dd7a8d15d40e7dc266fd237d3a44d55ec8d 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 {literal}
   <script type="text/javascript">
     //show edit profile field links
-    cj(function () {
+    CRM.$(function($) {
       // show edit for both contact and activity profile
-      cj('select[id$="profile_id"]').change(function () {
-        buildLinks(cj(this), cj(this).val());
+      $('select[id$="profile_id"]').change(function () {
+        buildLinks($(this), $(this).val());
       });
 
       // make sure we set edit links for both profiles when form loads
-      cj('select[id$="profile_id"]').each(function (e) {
-        buildLinks(cj(this), cj(this).val());
+      $('select[id$="profile_id"]').each(function (e) {
+        buildLinks($(this), $(this).val());
       });
     });
   </script>