Merge pull request #4882 from Zlash65/onclick-tree-fix

[Fix] Onclick select node not working in TreeView
This commit is contained in:
Achilles Rasquinha 2018-01-20 11:04:10 +05:30 committed by GitHub
commit cc9cec8f4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ frappe.ui.Tree = class {
set_selected_node(node) {
this.selected_node = node;
this.on_click && this.on_click();
this.on_click && this.on_click(node);
}
load_children(node, deep=false) {