mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
* fix: strings for translation
(cherry picked from commit 3be633f6f1)
# Conflicts:
# erpnext/accounts/utils.py
* fix: resolved conflict
---------
Co-authored-by: mahsem <137205921+mahsem@users.noreply.github.com>
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
@@ -147,10 +147,10 @@ class BOMConfigurator {
|
||||
if (!node.expanded) {
|
||||
view.tree.load_children(node, true);
|
||||
$(node.parent[0]).find(".tree-children").show();
|
||||
node.$toolbar.find(".expand-all-btn").html("Collapse All");
|
||||
node.$toolbar.find(".expand-all-btn").html(__("Collapse All"));
|
||||
} else {
|
||||
node.$tree_link.trigger("click");
|
||||
node.$toolbar.find(".expand-all-btn").html("Expand All");
|
||||
node.$toolbar.find(".expand-all-btn").html(__("Expand All"));
|
||||
}
|
||||
},
|
||||
condition: function (node) {
|
||||
@@ -190,10 +190,10 @@ class BOMConfigurator {
|
||||
if (!node.expanded) {
|
||||
view.tree.load_children(node, true);
|
||||
$(node.parent[0]).find(".tree-children").show();
|
||||
node.$toolbar.find(".expand-all-btn").html("Collapse All");
|
||||
node.$toolbar.find(".expand-all-btn").html(__("Collapse All"));
|
||||
} else {
|
||||
node.$tree_link.trigger("click");
|
||||
node.$toolbar.find(".expand-all-btn").html("Expand All");
|
||||
node.$toolbar.find(".expand-all-btn").html(__("Expand All"));
|
||||
}
|
||||
},
|
||||
condition: function (node) {
|
||||
|
||||
Reference in New Issue
Block a user