From: <jon...@us...> - 2010-02-27 14:47:45
|
Revision: 25763 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=25763&view=rev Author: jonnybradley Date: 2010-02-27 14:47:24 +0000 (Sat, 27 Feb 2010) Log Message: ----------- [FIX] No accordion if no tabs (goes all wrong due to slightly different DOM structure) Modified Paths: -------------- trunk/templates/tiki-admin_trackers.tpl Modified: trunk/templates/tiki-admin_trackers.tpl =================================================================== --- trunk/templates/tiki-admin_trackers.tpl 2010-02-27 01:18:38 UTC (rev 25762) +++ trunk/templates/tiki-admin_trackers.tpl 2010-02-27 14:47:24 UTC (rev 25763) @@ -505,7 +505,7 @@ {/tab} {if $trackerId} -{jq}if ($jq.ui) { $jq("#content3").tiki("accordion", {heading: "h2"});}{/jq} +{jq}if ($jq.ui && $jq(".tabs").length) { $jq("#content3").tiki("accordion", {heading: "h2"});}{/jq} {tab name="{tr}Import/Export{/tr}"} {* --- tab with raw form --- *} <h2>{tr}Import/export trackers{/tr}</h2> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |