* Add a jump and highlight to the left tree.

This commit is contained in:
tianshujie
2023-04-06 16:01:39 +08:00
parent 8be6397778
commit 8dcb58fdc3
3 changed files with 6 additions and 3 deletions
-2
View File
@@ -1,3 +1 @@
#mainContent .c-id > a {color: #0c60e1;}
.btn.ajaxCollect {width: 20px; padding: 0px;}
.btn.ajaxCollect > img {width: 20px;}
+1 -1
View File
@@ -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');
}
+5
View File
@@ -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';