{*
+--------------------------------------------------------------------+
- | 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. |
| |
{if $rows and $action ne 2 and $action ne 4}
+ {* include wysiwyg related files*}
+ {include file="CRM/common/wysiwyg.tpl" includeWysiwygEditor=true}
+
<div id='mainTabContainer'>
<ul>
<li id='tab_user'> <a href='#user' title='{ts}User-driven Messages{/ts}'> {ts}User-driven Messages{/ts} </a></li>
var selectedTab = 'user';
{if $selectedChild}selectedTab = '{$selectedChild}';{/if}
{literal}
- cj( function() {
+ CRM.$(function($) {
var tabIndex = cj('#tab_' + selectedTab).prevAll().length
cj("#mainTabContainer").tabs( {active: tabIndex} );
});