From ef7599f550530e895d7e4c7a3ae9fb11498ebd95 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 22 Jan 2013 11:55:05 +0530 Subject: [PATCH] fix in lead lost issue in quotation --- selling/doctype/quotation/quotation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selling/doctype/quotation/quotation.js b/selling/doctype/quotation/quotation.js index 48367da8ab..2112ac8702 100644 --- a/selling/doctype/quotation/quotation.js +++ b/selling/doctype/quotation/quotation.js @@ -198,7 +198,7 @@ cur_frm.cscript.pull_enquiry_detail = function(doc,cdt,cdn){ cur_frm.cscript['Declare Order Lost'] = function(){ var qtn_lost_dialog; - set_qtn_lost_dialog = function(doc,cdt,cdn){ + set_qtn_lost_dialog = function(){ qtn_lost_dialog = new Dialog(400,400,'Add Quotation Lost Reason'); qtn_lost_dialog.make_body([ ['HTML', 'Message', '
Please add quotation lost reason
'], @@ -238,7 +238,7 @@ cur_frm.cscript['Declare Order Lost'] = function(){ } if(!qtn_lost_dialog){ - set_qtn_lost_dialog(doc,cdt,cdn); + set_qtn_lost_dialog(); } qtn_lost_dialog.show(); }