minor fixes
This commit is contained in:
parent
ce3775dfdd
commit
221f03be01
@ -207,6 +207,7 @@ cur_frm.cscript['Declare Opportunity Lost'] = function(){
|
|||||||
if(r.message == 'true'){
|
if(r.message == 'true'){
|
||||||
$i('update_enquiry_dialog_response').innerHTML = 'Done';
|
$i('update_enquiry_dialog_response').innerHTML = 'Done';
|
||||||
e_lost_dialog.hide();
|
e_lost_dialog.hide();
|
||||||
|
cur_frm.refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(arg) {
|
if(arg) {
|
||||||
|
@ -250,6 +250,7 @@ cur_frm.cscript['Declare Order Lost'] = function(){
|
|||||||
if(r.message == 'true'){
|
if(r.message == 'true'){
|
||||||
$i('update_quotation_dialog_response').innerHTML = 'Done';
|
$i('update_quotation_dialog_response').innerHTML = 'Done';
|
||||||
qtn_lost_dialog.hide();
|
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);
|
if(arg) $c_obj(make_doclist(cur_frm.doc.doctype, cur_frm.doc.name),'declare_order_lost',arg,call_back);
|
||||||
|
@ -156,7 +156,7 @@ cur_frm.cscript.render_row_in_wrapper = function(wrapper, data, doctype) {
|
|||||||
$wrapper.append(repl("\
|
$wrapper.append(repl("\
|
||||||
<h4><a class='link_type'>%(fullname)s</a>%(primary)s</h4>\
|
<h4><a class='link_type'>%(fullname)s</a>%(primary)s</h4>\
|
||||||
<div class='description'>\
|
<div class='description'>\
|
||||||
%(description)s\
|
<p>%(description)s</p>\
|
||||||
<p><a class='delete link_type'>delete this %(doctype)s</a></p>\
|
<p><a class='delete link_type'>delete this %(doctype)s</a></p>\
|
||||||
</div>", data));
|
</div>", data));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user