mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +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) {
|
||||
if(r.exc) {
|
||||
msgprint(__("There were errors."));
|
||||
return;
|
||||
} else {
|
||||
dialog.hide();
|
||||
cur_frm.refresh();
|
||||
}
|
||||
dialog.hide();
|
||||
},
|
||||
btn: this
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user