소스 검색

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 년 전
부모
커밋
b50ad8afc1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;