{*
+--------------------------------------------------------------------+
- | 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. |
| |
{* Expand/Collapse *}
{literal}
<script type="text/javascript">
- cj( function( ) {
+ CRM.$(function($) {
cj('.collapsed').click( function( ) {
var currentObj = cj( this );
if ( currentObj.hasClass( 'expanded') ) {
{literal}
- cj( function() {
+ CRM.$(function($) {
var tabIndex = cj('#tab_' + selectedTab).prevAll().length;
- cj("#mainTabContainer").tabs({ active: tabIndex, cache: true});
+ cj("#mainTabContainer").tabs({active: tabIndex});
cj(".crm-tab-button").addClass("ui-corner-bottom");
});
{/literal}
{* Refresh buttons *}
{literal}
<script type="text/javascript">
- cj(function() {
+ CRM.$(function($) {
cj('.crm-extensions-refresh').click(function(event){
event.stopPropagation();
CRM.alert('', '{/literal}{ts escape="js"}Refreshing...{/ts}{literal}', 'crm-msg-loading', {expires: 0});