Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3779 Zobrazení

Hi,

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

Thank you very much!

Avatar
Zrušit
Autor Nejlepší odpověď

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

});

Avatar
Zrušit