diff --git a/module/doc/view/lefttree.html.php b/module/doc/view/lefttree.html.php index 1118d69ecd..ebb0d54d3b 100644 --- a/module/doc/view/lefttree.html.php +++ b/module/doc/view/lefttree.html.php @@ -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 ? '###' : '#';