From 44874bfa82e345b23c49758e17737f2e110554ed Mon Sep 17 00:00:00 2001 From: miker Date: Sun, 13 May 2007 03:35:25 +0000 Subject: [PATCH] ordering issue git-svn-id: svn://svn.open-ils.org/ILS/trunk@7280 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/reports/xul/source-setup.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/reports/xul/source-setup.js b/Open-ILS/web/reports/xul/source-setup.js index a54c11419e..0de7407d64 100644 --- a/Open-ILS/web/reports/xul/source-setup.js +++ b/Open-ILS/web/reports/xul/source-setup.js @@ -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(); } ); -- 2.11.0