From: miker Date: Sat, 12 May 2007 04:47:41 +0000 (+0000) Subject: debugging X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3377fad1a5d13788f1e1a2d1ed1b01e0173407da;p=Evergreen.git debugging git-svn-id: svn://svn.open-ils.org/ILS/trunk@7268 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/reports/xul/template-config.js b/Open-ILS/web/reports/xul/template-config.js index 85b1d261f9..97382c7b76 100644 --- a/Open-ILS/web/reports/xul/template-config.js +++ b/Open-ILS/web/reports/xul/template-config.js @@ -766,6 +766,7 @@ function save_template () { for each (var order in rpt_rel_cache.order_by) fleshTemplateField( template, rpt_rel_cache[order.relation], 'dis_tab', order.field ); + prompt( 'template', js2JSON( template ) ); // and the saving throw ... var cgi = new CGI(); @@ -779,8 +780,6 @@ function save_template () { tmpl.folder(cgi.param('folder')); tmpl.data(js2JSON(template)); - prompt( 'template', js2JSON( template ) ); - if(!confirm('Name : '+tmpl.name() + '\nDescription: ' + tmpl.description()+'\nSave Template?')) return;