diff options
author | Alvin Li <liweitianux@gmail.com> | 2013-08-13 17:18:00 +0800 |
---|---|---|
committer | Alvin Li <liweitianux@gmail.com> | 2013-08-13 17:18:00 +0800 |
commit | 87ed76dd20431eb2a4216f9356b6da417fe003ce (patch) | |
tree | c2c5f650f2714c0364fbd8207cfe8b72e2a17e56 /97suifang-front/assets/js/delete_card_tip.js | |
parent | 755463eed74ed7de9a3c1a12495d2dad655d31d5 (diff) | |
download | 97dev-87ed76dd20431eb2a4216f9356b6da417fe003ce.tar.bz2 |
added '97suifang-front'
Diffstat (limited to '97suifang-front/assets/js/delete_card_tip.js')
-rw-r--r-- | 97suifang-front/assets/js/delete_card_tip.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/97suifang-front/assets/js/delete_card_tip.js b/97suifang-front/assets/js/delete_card_tip.js new file mode 100644 index 0000000..099a216 --- /dev/null +++ b/97suifang-front/assets/js/delete_card_tip.js @@ -0,0 +1,18 @@ +$(document).ready(function(){ + //点大叉、继续关注按钮,关闭弹层页面 + $(".delete_card_tip_close, .action_confirm_ignore").bind("click", function(){ + parent.TB_remove(); + return false; + }); + + //取消关注,关闭弹层页面 + $(".action_confirm_cancel").bind("click", function(){ + //TODO + //底层数据层取消关注(ajax) + //console.log(parent.card_2_delete_id); //要取消关注的 卡片id 的获取方法 + + parent.delete_card(); + parent.TB_remove(); + return false; + }); +});
\ No newline at end of file |