minor fixes

This commit is contained in:
Anand Doshi
2012-12-13 15:04:18 +05:30
parent ce3775dfdd
commit 221f03be01
3 changed files with 3 additions and 1 deletions

View File

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

View File

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