diff options
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 |