Skip to Content
मेन्यू
This question has been flagged
1741 Views

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
Discard
Related Posts Replies Views Activity
0
सित॰ 21
2990
1
मई 25
4249
1
मई 24
3234
1
अप्रैल 24
26882
1
नव॰ 22
1875