fixes for DocPanel

This commit is contained in:
rolux 2011-05-07 19:52:33 +02:00
commit f5f19c1c11
5 changed files with 18 additions and 15 deletions

View file

@ -75,11 +75,12 @@ Ox.DocPanel = function(options, self) {
docItem.section = self.options.getSection(docItem);
if (docItem.section) {
sectionIndex = Ox.getPositionById(
treeItems[moduleIndex].items, '_' + docItem.section
treeItems[moduleIndex].items,
'_' + docItem.module + '_' + docItem.section
);
if (sectionIndex == -1) {
treeItems[moduleIndex].items.push({
id: '_' + docItem.section,
id: '_' + docItem.module + '_' + docItem.section,
items: [],
title: docItem.section
});