MT#5879 Just remove 2 alerts

ipeshinskaya/InvoiceTemplate5
Irina Peshinskaya 11 years ago committed by Victor Seva
parent 9228b2c5cc
commit 5bbdba5c74

@ -170,11 +170,9 @@ function saveTemplate( data ) {
datatype: 'json', datatype: 'json',
data: { template: svgString }, data: { template: svgString },
} ).done( function( jsonResponse ) { } ).done( function( jsonResponse ) {
alert('Form!');
if(jsonResponse.aaData && jsonResponse.aaData.form){ if(jsonResponse.aaData && jsonResponse.aaData.form){
$('form[name=invoice_template]').loadJSON(jsonResponse.aaData.form); $('form[name=invoice_template]').loadJSON(jsonResponse.aaData.form);
} }
alert('Refresh!');
refreshTemplateList( data.contract_id ); refreshTemplateList( data.contract_id );
}); });
} }

Loading…
Cancel
Save