|
@@ -290,6 +290,19 @@ |
|
@@ -290,6 +290,19 @@ |
290
|
total = $(".pleaseenter").val();
|
290
|
total = $(".pleaseenter").val();
|
291
|
if(parseInt(total) > 0) {
|
291
|
if(parseInt(total) > 0) {
|
292
|
window.event.stopPropagation()
|
292
|
window.event.stopPropagation()
|
|
|
293
|
+ //判断是否改过密码
|
|
|
294
|
+ $.ajax({
|
|
|
295
|
+ url:"{:url('friendship/Friend/checkPwd')}",
|
|
|
296
|
+ type:"POST",
|
|
|
297
|
+ dataType:"JSON",
|
|
|
298
|
+
|
|
|
299
|
+ success: function (data) {
|
|
|
300
|
+ if(data.data === false) {
|
|
|
301
|
+ alert(data.msg);
|
|
|
302
|
+ }
|
|
|
303
|
+ }
|
|
|
304
|
+ })
|
|
|
305
|
+
|
293
|
$(".sendwrapper").css("display", "none");
|
306
|
$(".sendwrapper").css("display", "none");
|
294
|
$(".passwordwrap").css("display", "block")
|
307
|
$(".passwordwrap").css("display", "block")
|
295
|
}
|
308
|
}
|