{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | 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>