Skip to Content
Menu
This question has been flagged
1756 Rodiniai

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;
},



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
rugs. 21
3010
1
geg. 25
4294
1
geg. 24
3257
1
bal. 24
26967
1
lapkr. 22
1901