This commit is contained in:
Yuki 2015-04-26 15:51:47 +05:30
parent ac14fefb3c
commit 5792b59fc7
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $(document).on "click", "a[data-action=ab-question-destroy]", (ev) ->
if btn[0].dataset.redirect != undefined if btn[0].dataset.redirect != undefined
window.location.href = btn[0].dataset.redirect window.location.href = btn[0].dataset.redirect
else else
$("div.answerbox[data-qId=#{qid}], div.questionbox[data-id=#{qid}]").slideUp() $("div.answerbox[data-q-id=#{qid}], div.questionbox[data-id=#{qid}]").slideUp()
showNotification data.message, data.success showNotification data.message, data.success
error: (jqxhr, status, error) -> error: (jqxhr, status, error) ->
console.log jqxhr, status, error console.log jqxhr, status, error