summaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
authorRoger Luo <rogerluo410@gmail.com>2022-06-09 19:15:08 +0800
committerGitHub <noreply@github.com>2022-06-09 14:15:08 +0300
commit2ae45cebbf2ec839bf2280765f958eb60d1f6374 (patch)
tree7e5a81f11ceebcbaf7c71cf9853a4c21fe28eeaf /web_src/js/index.js
parent7948cb3149ab64484a8d4c6644f53f9f39accbef (diff)
downloadgitea-2ae45cebbf2ec839bf2280765f958eb60d1f6374.tar.gz
gitea-2ae45cebbf2ec839bf2280765f958eb60d1f6374.zip
Feature: Find files in repo (#15028)
* Create finding files page ui in repo page * Get tree entries for find repo files. * Move find files JS to individual file. * gen swagger. * Add enry.IsVendor to exclude entries Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 4343c2d965..b6a1aee779 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -21,6 +21,7 @@ import {initMarkupAnchors} from './markup/anchors.js';
import {initNotificationCount, initNotificationsTable} from './features/notification.js';
import {initRepoIssueContentHistory} from './features/repo-issue-content.js';
import {initStopwatch} from './features/stopwatch.js';
+import {initFindFileInRepo} from './features/repo-findfile.js';
import {initCommentContent, initMarkupContent} from './markup/content.js';
import {initUserAuthLinkAccountView, initUserAuthOauth2} from './features/user-auth.js';
@@ -124,6 +125,7 @@ $(document).ready(() => {
initSshKeyFormParser();
initStopwatch();
initTableSort();
+ initFindFileInRepo();
initAdminCommon();
initAdminEmails();