Merge pull request #46690 from IMS94/fix-46686-so-update-items

fix: assign dialog instance to a variable in update_child_items function
This commit is contained in:
ruthra kumar
2025-03-25 11:18:45 +05:30
committed by GitHub

View File

@@ -750,7 +750,7 @@ erpnext.utils.update_child_items = function (opts) {
});
}
new frappe.ui.Dialog({
let dialog = new frappe.ui.Dialog({
title: __("Update Items"),
size: "extra-large",
fields: [
@@ -787,7 +787,9 @@ erpnext.utils.update_child_items = function (opts) {
refresh_field("items");
},
primary_action_label: __("Update"),
}).show();
});
dialog.show();
};
erpnext.utils.map_current_doc = function (opts) {