* Fix bug #34260.
This commit is contained in:
@@ -262,6 +262,7 @@ $(function()
|
||||
initialState: 'active',
|
||||
itemCreator: function($li, item)
|
||||
{
|
||||
if(item.type == 'apiDoc' && release) item.hasAction = false;
|
||||
if(typeof item.hasAction == 'undefined') item.hasAction = true;
|
||||
if(typeof item.active == 'undefined') item.active = 0;
|
||||
if(typeof docID != 'undefined' && item.id == docID) item.active = 1;
|
||||
@@ -271,7 +272,7 @@ $(function()
|
||||
var libClass = ['lib', 'annex', 'api', 'execution'].indexOf(objectType) !== -1 ? 'lib' : '';
|
||||
var moduleClass = item.type == 'doc' || item.type == 'apiDoc' ? 'catalog' : '';
|
||||
var sortClass = '';
|
||||
if(config.currentMethod != 'view' && ((item.type == 'doc' && canSortDocCatalog) || (item.type == 'apiDoc' && canSortAPICatalog))) sortClass = 'sort-module';
|
||||
if(config.currentMethod != 'view' && ((item.type == 'doc' && canSortDocCatalog) || (item.type == 'apiDoc' && canSortAPICatalog && !release))) sortClass = 'sort-module';
|
||||
|
||||
var hasChild = item.children ? !!item.children.length : false;
|
||||
var link = item.type != 'execution' || item.hasAction ? '###' : '#';
|
||||
|
||||
Reference in New Issue
Block a user