fix load all by Faris in tree master (#4543)
This commit is contained in:
parent
91a87da6fb
commit
e4eddb03d4
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ frappe.ui.TreeNode = Class.extend({
|
|||
this.load();
|
||||
},
|
||||
reload_parent: function() {
|
||||
this.parent_node.load_all();
|
||||
this.parent_node && this.parent_node.load_all();
|
||||
},
|
||||
load_all: function(callback) {
|
||||
var me = this;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue