ordering issue
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 13 May 2007 03:35:25 +0000 (03:35 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 13 May 2007 03:35:25 +0000 (03:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7280 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/reports/xul/source-setup.js

index a54c114..0de7407 100644 (file)
@@ -45,11 +45,12 @@ function loadTemplate(id) {
                        var tmpl = res.getResultObject();
                        var template = JSON2js( tmpl.data() );
 
-                       $('template-name').value = tmpl.name + ' (clone)';
-                       $('template-description').value = tmpl.description;
+                       resetUI( template.core_class );
+
+                       $('template-name').value = tmpl.name() + ' (clone)';
+                       $('template-description').value = tmpl.description();
 
                        rpt_rel_cache = template.rel_cache;
-                       resetUI( template.core_class );
                        renderSources();
                }
        );