Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3827 มุมมอง

Hi,

I would like to know if a unlink from javascript passed well or if there is an exception.

Thank you very much!

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

The unlink function return the model.call. To know if there is a problem, you have to do this:

this.dataset.unlink(id).fail(function(){

// fail action

});

อวตาร
ละทิ้ง