Procházet zdrojové kódy

Merge branch 'master' of http://59.57.98.130:3000/jjhc/jucai

linwu před 4 měsíci
rodič
revize
59bb47adfd

+ 7 - 5
public/themes/default/views/app/auth/password_request.blade.php

@@ -212,7 +212,7 @@
             $('.J_listitme_group').eq(indexValue).show().siblings('.J_listitme_group').hide();
         });
 
-        $("#email_reset").click(function (event){
+        $('#getPassByEmailForm').on('submit', function(event) {
             event.preventDefault();
             var emailValue = $.trim($('#email').val());
             if (emailValue == '') {
@@ -225,11 +225,13 @@
                 $('#email').focus();
                 return false;
             }
-            captcha.show();
-
-
+            captcha_email.show();
+        });
 
-        })
+        // $("#email_reset").click(function (event){
+        //     event.preventDefault();
+        //
+        // })
 
         // 点击获取验证码先判断是否输入了手机号
         $('#J_getverificode').click(function() {