Skip to Content
Menu
This question has been flagged
1 Atsakyti
3777 Rodiniai

Hi,

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

Thank you very much!

Portretas
Atmesti
Autorius Best Answer

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

});

Portretas
Atmesti