diff --git a/selling/doctype/opportunity/opportunity.js b/selling/doctype/opportunity/opportunity.js index 70924835d8..cfc546c956 100644 --- a/selling/doctype/opportunity/opportunity.js +++ b/selling/doctype/opportunity/opportunity.js @@ -207,6 +207,7 @@ cur_frm.cscript['Declare Opportunity Lost'] = function(){ if(r.message == 'true'){ $i('update_enquiry_dialog_response').innerHTML = 'Done'; e_lost_dialog.hide(); + cur_frm.refresh(); } } if(arg) { diff --git a/selling/doctype/quotation/quotation.js b/selling/doctype/quotation/quotation.js index 40e15186e7..1b0a7748a9 100644 --- a/selling/doctype/quotation/quotation.js +++ b/selling/doctype/quotation/quotation.js @@ -250,6 +250,7 @@ cur_frm.cscript['Declare Order Lost'] = function(){ if(r.message == 'true'){ $i('update_quotation_dialog_response').innerHTML = 'Done'; qtn_lost_dialog.hide(); + cur_frm.refresh(); } } if(arg) $c_obj(make_doclist(cur_frm.doc.doctype, cur_frm.doc.name),'declare_order_lost',arg,call_back); diff --git a/setup/doctype/contact_control/contact_control.js b/setup/doctype/contact_control/contact_control.js index fe3c041caa..fd08062a0e 100755 --- a/setup/doctype/contact_control/contact_control.js +++ b/setup/doctype/contact_control/contact_control.js @@ -156,7 +156,7 @@ cur_frm.cscript.render_row_in_wrapper = function(wrapper, data, doctype) { $wrapper.append(repl("\
%(description)s
\ \