mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-28 11:08:32 +00:00
fix: attribute 'msgbox' not found in sales invoice.js
(cherry picked from commit 5643385c22)
# Conflicts:
# erpnext/accounts/doctype/sales_invoice/sales_invoice.js
This commit is contained in:
@@ -65,7 +65,11 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends (
|
|||||||
refresh(doc, dt, dn) {
|
refresh(doc, dt, dn) {
|
||||||
const me = this;
|
const me = this;
|
||||||
super.refresh();
|
super.refresh();
|
||||||
|
<<<<<<< HEAD
|
||||||
if (cur_frm.msgbox && cur_frm.msgbox.$wrapper.is(":visible")) {
|
if (cur_frm.msgbox && cur_frm.msgbox.$wrapper.is(":visible")) {
|
||||||
|
=======
|
||||||
|
if (this.frm?.msgbox && this.frm.msgbox.$wrapper.is(":visible")) {
|
||||||
|
>>>>>>> 5643385c22 (fix: attribute 'msgbox' not found in sales invoice.js)
|
||||||
// hide new msgbox
|
// hide new msgbox
|
||||||
cur_frm.msgbox.hide();
|
cur_frm.msgbox.hide();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user