summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/admin-emails.js
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-10-17 07:29:26 +0800
committerGitHub <noreply@github.com>2022-10-17 07:29:26 +0800
commitf860a6d2e4177ed4f4c2a58a07882bd00a1a52ad (patch)
tree93abb2f354576e50c87d70b0b4bb46369fb3a1f1 /web_src/js/features/admin-emails.js
parent5d3dbffa150d832d2f9aedd9f90ca91178a95f9c (diff)
downloadgitea-f860a6d2e4177ed4f4c2a58a07882bd00a1a52ad.tar.gz
gitea-f860a6d2e4177ed4f4c2a58a07882bd00a1a52ad.zip
Add system setting table with cache and also add cache supports for user setting (#18058)
Diffstat (limited to 'web_src/js/features/admin-emails.js')
-rw-r--r--web_src/js/features/admin-emails.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/web_src/js/features/admin-emails.js b/web_src/js/features/admin-emails.js
deleted file mode 100644
index 46fafa7eff..0000000000
--- a/web_src/js/features/admin-emails.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import $ from 'jquery';
-
-export function initAdminEmails() {
- function linkEmailAction(e) {
- const $this = $(this);
- $('#form-uid').val($this.data('uid'));
- $('#form-email').val($this.data('email'));
- $('#form-primary').val($this.data('primary'));
- $('#form-activate').val($this.data('activate'));
- $('#change-email-modal').modal('show');
- e.preventDefault();
- }
- $('.link-email-action').on('click', linkEmailAction);
-}