Skip to content
Browse files

fixed smt-notify.js

  • Loading branch information...
1 parent 0349dbd commit 8e8cddfd5d73b63f9e724e45a8006e0aba96e1ff kashiwasan committed Feb 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 web/js/smt_notify.js
View
4 web/js/smt_notify.js
@@ -90,15 +90,15 @@
dataType: 'json',
success: function(data) {
if(data.status=='success'){
- $(this).parent().find('.ncfriendloading').hide();
+ $('.ncfriendloading').hide();
$(this).parent().find('.ncfriendresultmessage').text('フレンド申請を拒否しました。');
$(this).parent().find('.ncfriendresultmessage').show();
}else{
alert(data.message);
}
},
error: function(r, s, e){
- $(this).parent().find('.ncfriendloading').hide();
+ $('.ncfriendloading').hide();
$(this).parent().find('.ncfriendresultmessage').text('既に承認済みか拒否済みです。');
$(this).parent().find('.ncfriendresultmessage').show();
}

0 comments on commit 8e8cddf

Please sign in to comment.
Something went wrong with that request. Please try again.