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

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

index 2650828..c327d9d 100644 (file)
@@ -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;