mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 01:14:46 +00:00
Fixed Opportunity Lost UX
This commit is contained in:
@@ -134,9 +134,10 @@ cur_frm.cscript['Declare Opportunity Lost'] = function() {
|
|||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(r.exc) {
|
if(r.exc) {
|
||||||
msgprint(__("There were errors."));
|
msgprint(__("There were errors."));
|
||||||
return;
|
} else {
|
||||||
|
dialog.hide();
|
||||||
|
cur_frm.refresh();
|
||||||
}
|
}
|
||||||
dialog.hide();
|
|
||||||
},
|
},
|
||||||
btn: this
|
btn: this
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user