تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3771 أدوات العرض

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

});

الصورة الرمزية
إهمال