Skip to content

Commit

Permalink
removed code meant only for accounts-tree (#4509)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zlash65 authored and rmehta committed Nov 17, 2017
1 parent 236a2ad commit e468417
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions frappe/public/js/frappe/views/treeview.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,6 @@ frappe.views.TreeView = Class.extend({
v.parent = node.label;
v.doctype = me.doctype;

if(node.root) {
v.is_root = 1;
v.parent_account = null;
} else {
v.is_root = 0;
v.root_type = null;
}

$.extend(args, v)
return frappe.call({
method: me.opts.add_tree_node || "frappe.desk.treeview.add_node",
Expand Down

0 comments on commit e468417

Please sign in to comment.