跳至内容
菜单
此问题已终结
1735 查看

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



形象
丢弃
相关帖文 回复 查看 活动
0
9月 21
2983
1
5月 25
4245
1
5月 24
3219
1
4月 24
26878
1
11月 22
1862