From: miker Date: Sat, 12 May 2007 04:41:50 +0000 (+0000) Subject: debuging X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b3a4f0e2f97569b278a82ad45e42e6975ae3a761;p=Evergreen.git debuging git-svn-id: svn://svn.open-ils.org/ILS/trunk@7265 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 2650828be4..c327d9d1fb 100644 --- a/Open-ILS/web/reports/xul/template-config.js +++ b/Open-ILS/web/reports/xul/template-config.js @@ -514,7 +514,7 @@ function populateOperatorContext () { menu.appendChild( createMenuItem( { label : o.labels[key], - command : function () { return changeOperator({op:i,label:o.labels[key]}) }, + oncommand : "changeOperator({op:i,label:o.labels[key]}) }, } ) ); @@ -874,6 +874,8 @@ function fleshTemplateField ( template, rel, tab_name, field ) { if (!rel.fields[tab_name] || !rel.fields[tab_name][field]) return; + prompt('eh',js2JSON(rel)); + var tab = rel.fields[tab_name]; var field_path = rel.path + '-' + field;