Bläddra i källkod

Named tab containers instead of non-unique numbering !

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1977 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 år sedan
förälder
incheckning
b50ad8afc1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      application/ajaxwebpage.class.inc.php

+ 1 - 1
application/ajaxwebpage.class.inc.php

@@ -161,7 +161,7 @@ EOF
 			$container_index = 0;
 			if (count($m_aTabs) > 0)
 			{
-			  $sTabs = "<!-- tabs -->\n<div id=\"tabbedContent_{$sPrefix}{$container_index}\" class=\"light\">\n";
+			  $sTabs = "<!-- tabs -->\n<div id=\"tabbedContent_{$sPrefix}{$sTabContainerName}\" class=\"light\">\n";
 			  $sTabs .= "<ul>\n";
 			  // Display the unordered list that will be rendered as the tabs
 	          $i = 0;