跳至內容
選單
此問題已被標幟
1 回覆
3817 瀏覽次數

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

});

頭像
捨棄