fixes for DocPanel
This commit is contained in:
parent
a58350a29e
commit
f5f19c1c11
5 changed files with 18 additions and 15 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue