Ver a proveniência

fix load all by Faris in tree master (#4543)

version-14
Umair Sayed há 7 anos
committed by Rushabh Mehta
ascendente
cometimento
e4eddb03d4
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      frappe/public/js/frappe/ui/tree.js

+ 1
- 1
frappe/public/js/frappe/ui/tree.js Ver ficheiro

@@ -216,7 +216,7 @@ frappe.ui.TreeNode = Class.extend({
this.load(); this.load();
}, },
reload_parent: function() { reload_parent: function() {
this.parent_node.load_all();
this.parent_node && this.parent_node.load_all();
}, },
load_all: function(callback) { load_all: function(callback) {
var me = this; var me = this;


Carregando…
Cancelar
Guardar