aboutsummaryrefslogtreecommitdiff
path: root/public/ng/js/gogs.js
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-09 11:15:08 +0800
committerUnknwon <u@gogs.io>2015-07-09 11:15:08 +0800
commitb60fd3aaadc3e6ad227b663d599e073f1436fd1f (patch)
tree3aa7a1e26cd878c09a52078d5aa202489122f27c /public/ng/js/gogs.js
parent3be3b8faa7b1fa8fcac0bec49f2a37e861b4353d (diff)
parent4fca548ed11cefedcaa595be1c08625a9ae9f878 (diff)
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'public/ng/js/gogs.js')
-rw-r--r--public/ng/js/gogs.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js
index c5fd719c..7ffef8af 100644
--- a/public/ng/js/gogs.js
+++ b/public/ng/js/gogs.js
@@ -753,10 +753,17 @@ function initAdmin() {
if (v == 2) {
$('.ldap').toggleShow();
$('.smtp').toggleHide();
+ $('.pam').toggleHide();
}
if (v == 3) {
$('.smtp').toggleShow();
$('.ldap').toggleHide();
+ $('.pam').toggleHide();
+ }
+ if (v == 4) {
+ $('.pam').toggleShow();
+ $('.smtp').toggleHide();
+ $('.ldap').toggleHide();
}
});