Ir al contenido
Menú
Se marcó esta pregunta
1722 Vistas

I am geting .done is not a function
form the code blow an not sure that is the reason

can you plz help  

on_data_loaded_2: function(events) {
    var res = this._super.apply(this, arguments);
    if (this.modelName === 'project.task') {
        this.get_critical_paths(events).done(function(paths) {
        this.critical_paths = paths;
        this.draw_canvas();
    }.bind(this));
    }
    return res;
},



Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
sept 21
2967
1
may 25
4230
1
may 24
3195
1
abr 24
26856
1
nov 22
1845