Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3773 Vistas

Hi,

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

Thank you very much!

Avatar
Descartar
Autor Mejor respuesta

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
Descartar