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

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
3168
1
5月 25
4583
1
5月 24
3483
1
4月 24
27442
1
11月 22
2054