Skip to content

Commit

Permalink
Merge pull request #12 from SJTU-UMJI-Tech/develop
Browse files Browse the repository at this point in the history
text_validation not added
  • Loading branch information
tc-imba committed Apr 9, 2016
2 parents 884b170 + ac43150 commit f16528d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion application/views/user_login.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
include 'common/header.php';
include 'headers/kindeditor.php';
include 'headers/text_validation.php';
?>
<script type='text/javascript'>

Expand Down Expand Up @@ -29,7 +30,7 @@
$("#username").val('<?php echo set_value('username')?>');
}

$("#captcha").change(function()
$("#captcha").keyup(function()
{
text_valid(
$("#captcha").val(),
Expand Down
3 changes: 2 additions & 1 deletion application/views/user_register.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
include 'common/header.php';
include 'headers/kindeditor.php';
include 'headers/text_validation.php';
?>
<script type='text/javascript'>
$(document).ready(function()
Expand Down Expand Up @@ -144,7 +145,7 @@
});

// 检查 captcha 是否正确
$("#captcha").change(function()
$("#captcha").keyup(function()
{
text_valid(
$("#captcha").val(),
Expand Down

0 comments on commit f16528d

Please sign in to comment.