mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix: attribute 'msgbox' not found in sales invoice.js
This commit is contained in:
@@ -65,7 +65,7 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends (
|
|||||||
refresh(doc, dt, dn) {
|
refresh(doc, dt, dn) {
|
||||||
const me = this;
|
const me = this;
|
||||||
super.refresh();
|
super.refresh();
|
||||||
if (this.frm.msgbox && this.frm.msgbox.$wrapper.is(":visible")) {
|
if (this.frm?.msgbox && this.frm.msgbox.$wrapper.is(":visible")) {
|
||||||
// hide new msgbox
|
// hide new msgbox
|
||||||
this.frm.msgbox.hide();
|
this.frm.msgbox.hide();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user