From: miker Date: Sun, 13 May 2007 03:42:07 +0000 (+0000) Subject: ordering issue X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6b334d9378443b2e37588e322109962f74bb8daf;p=Evergreen.git ordering issue git-svn-id: svn://svn.open-ils.org/ILS/trunk@7281 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/reports/xul/source-setup.js b/Open-ILS/web/reports/xul/source-setup.js index 0de7407d64..4cf5222329 100644 --- a/Open-ILS/web/reports/xul/source-setup.js +++ b/Open-ILS/web/reports/xul/source-setup.js @@ -68,13 +68,14 @@ function loadIDL() { populateSourcesMenu( filterByAttributeNS( oilsIDL.getElementsByTagName('class'), rptNS, 'core', 'true' ) ); + + var cgi = new CGI(); + var template_id = cgi.param('ct'); + if (template_id) loadTemplate(template_id); } } req.send(null); - var cgi = new CGI(); - var template_id = cgi.param('ct'); - if (template_id) loadTemplate(template_id); } function getIDLClass (id) { return filterByAttribute( oilsIDL.getElementsByTagName('class'), 'id', id )[0] }