debugging
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 12 May 2007 04:47:41 +0000 (04:47 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 12 May 2007 04:47:41 +0000 (04:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7268 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/reports/xul/template-config.js

index 85b1d26..97382c7 100644 (file)
@@ -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;