Fixed Opportunity Lost UX

This commit is contained in:
Anand Doshi
2014-04-25 18:36:06 +05:30
parent 69a2c25ca5
commit e3f6b6d899

View File

@@ -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
}) })