Merge pull request #67 from dpradeep/merge-20140827
[civicrm-core.git] / templates / CRM / Case / Form / Case.tpl
index 6f8785a3f8f210881848c29d9ffb43efe6f1adbd..04576a92005f5800e0026be95fb640c1554f5189 100644 (file)
     {include file="CRM/common/customData.tpl"}
     {literal}
       <script type="text/javascript">
-      cj(document).ready(function() {
-           var customDataSubType = cj('#case_type_id').val();
+      CRM.$(function($) {
+           var customDataSubType = $('#case_type_id').val();
            if ( customDataSubType ) {
               CRM.buildCustomData( {/literal}'{$customDataType}'{literal}, customDataSubType );
            } else {