CRM-13912 - fix accordion header for SMS Message body.
[civicrm-core.git] / templates / CRM / Contact / Form / Contact.tpl
index cb7482b2be63c11ad7af51cadfa9c2f4f22d2cc9..8923334e0188167c78d4691f382238f5b6cfbd17 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.                                    |
  |                                                                    |
@@ -39,9 +39,6 @@
     {include file="CRM/common/formButtons.tpl" location="top"}
     </div>
 
-    {* include overlay js *}
-    {include file="CRM/common/overlay.tpl"}
-
     <div class="crm-accordion-wrapper crm-contactDetails-accordion">
       <div class="crm-accordion-header">
         {ts}Contact Details{/ts}
   {literal}
 
   <script type="text/javascript" >
-  cj(function($) {
+  CRM.$(function($) {
     var action = "{/literal}{$action}{literal}";
-    $().crmAccordions();
 
     $('.crm-accordion-body').each( function() {
       //remove tab which doesn't have any element
       return true;
     });
     {/literal}{/if}{literal}
-
-    $("select#contact_sub_type").crmasmSelect({
-      addItemTarget: 'bottom',
-      animate: false,
-      highlight: true,
-      respectParents: true
-    });
   });
 
 </script>
 {* include common additional blocks tpl *}
 {include file="CRM/common/additionalBlocks.tpl"}
 
-{* include jscript to warn if unsaved form field changes *}
-{include file="CRM/common/formNavigate.tpl"}
-
 {/if}