* Fix bug #40117.
This commit is contained in:
@@ -272,7 +272,7 @@ $(function()
|
||||
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;
|
||||
if(['text', 'word', 'ppt', 'excel'].indexOf(item.type) !== -1) item.hasAction = false;
|
||||
if(['text', 'word', 'ppt', 'excel', 'attachment'].indexOf(item.type) !== -1) item.hasAction = false;
|
||||
|
||||
var objectType = config.currentModule == 'api' && ['project', 'product', 'execution'].indexOf(item.objectType) === false ? item.objectType : item.type;
|
||||
var libClass = ['lib', 'annex', 'api', 'execution'].indexOf(objectType) !== -1 ? 'lib' : '';
|
||||
|
||||
Reference in New Issue
Block a user