aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-05-11 21:27:06 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-05-11 21:27:06 +0800
commitfd7b0a2ba4f83acf876c1797326a5c8133998cf7 (patch)
tree091ee8f7dd9b35d42303601b1a70c78ea54da6b6
parent27f9b7a14452f8d95a83946727e5642ec35da260 (diff)
downloadgitea-fd7b0a2ba4f83acf876c1797326a5c8133998cf7.tar.gz
gitea-fd7b0a2ba4f83acf876c1797326a5c8133998cf7.zip
add user new js
-rw-r--r--templates/admin/users/new.tmpl1
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/admin/users/new.tmpl b/templates/admin/users/new.tmpl
index 0e3fee8b29..4f4866c4b6 100644
--- a/templates/admin/users/new.tmpl
+++ b/templates/admin/users/new.tmpl
@@ -79,7 +79,6 @@
$(function(){
$('#login-type').on("change",function(){
var v = $(this).val();
- alert(v.indexOf("0-")+1);
if(v.indexOf("0-")+1){
$('.auth-name').toggleHide();
$(".pwd").find("input").attr("required","required")