* Add a jump and highlight to the left tree.
This commit is contained in:
@@ -1,3 +1 @@
|
||||
#mainContent .c-id > a {color: #0c60e1;}
|
||||
.btn.ajaxCollect {width: 20px; padding: 0px;}
|
||||
.btn.ajaxCollect > img {width: 20px;}
|
||||
|
||||
@@ -1486,7 +1486,7 @@ class docModel extends model
|
||||
->andWhere('vision')->eq($this->config->vision)
|
||||
->andWhere('type')->eq($type)
|
||||
->beginIF(!empty($appendLib))->orWhere('id')->eq($appendLib)->fi()
|
||||
->beginIF($type == 'mine')->orWhere('addedBy')->eq($this->app->user->account)->fi()
|
||||
->beginIF($type == 'mine')->andWhere('addedBy')->eq($this->app->user->account)->fi()
|
||||
->orderBy('`order` asc, id_asc')
|
||||
->fetchAll('id');
|
||||
}
|
||||
|
||||
@@ -418,6 +418,11 @@ $(function()
|
||||
methodName = 'showFiles';
|
||||
linkParams = 'type=' + objectType + '&objectID=' + objectID;
|
||||
}
|
||||
else if(objectType == 'mine')
|
||||
{
|
||||
methodName = 'browse';
|
||||
linkParams = 'type=mine&libID=' + libID;
|
||||
}
|
||||
else if(['text', 'word', 'ppt', 'excel'].indexOf(type) !== -1)
|
||||
{
|
||||
methodName = 'view';
|
||||
|
||||
Reference in New Issue
Block a user