Skip to Content
Menú
This question has been flagged
1648 Vistes

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
Related Posts Respostes Vistes Activitat
0
de set. 21
2866
1
de maig 25
3995
1
de maig 24
2998
1
d’abr. 24
26562
1
de nov. 22
1682