From: Thomas Berezansky <tsbere@mvlc.org>
Date: Tue, 7 Aug 2012 18:29:37 +0000 (-0400)
Subject: Remove extra xulG redefines
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=36512c59c729f018f07d7b427baa3a6df3117809;p=evergreen%2Fmasslnc.git

Remove extra xulG redefines

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
---

diff --git a/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js b/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js
index 0bc238f373..ff128cae3f 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js
+++ b/Open-ILS/xul/staff_client/chrome/content/util/widget_prompt.js
@@ -1,4 +1,3 @@
-var xulG = {};
 var widget;
 
 function my_init() {
diff --git a/Open-ILS/xul/staff_client/server/cat/volume_editor.js b/Open-ILS/xul/staff_client/server/cat/volume_editor.js
index 48d8d55d23..51299ce71e 100644
--- a/Open-ILS/xul/staff_client/server/cat/volume_editor.js
+++ b/Open-ILS/xul/staff_client/server/cat/volume_editor.js
@@ -3,8 +3,6 @@ const rel_vert_pos_call_number_prefix = 2;
 const rel_vert_pos_call_number = 3;
 const rel_vert_pos_call_number_suffix = 4;
 
-var xulG = {};
-
 function my_init() {
     try {
         if (typeof JSAN == 'undefined') { throw( $("commonStrings").getString('common.jsan.missing') ); }
diff --git a/Open-ILS/xul/staff_client/server/circ/circ_summary.xul b/Open-ILS/xul/staff_client/server/circ/circ_summary.xul
index 9a98fb8760..26c6e071cb 100644
--- a/Open-ILS/xul/staff_client/server/circ/circ_summary.xul
+++ b/Open-ILS/xul/staff_client/server/circ/circ_summary.xul
@@ -36,8 +36,6 @@
     <![CDATA[
         function $(id) { return document.getElementById(id); }
 
-        var xulG = {};
-
         function my_init() {
             try {
                 if (typeof JSAN == 'undefined') {
diff --git a/Open-ILS/xul/staff_client/server/circ/copy_details.xul b/Open-ILS/xul/staff_client/server/circ/copy_details.xul
index aefcac94a9..3cc45c2049 100644
--- a/Open-ILS/xul/staff_client/server/circ/copy_details.xul
+++ b/Open-ILS/xul/staff_client/server/circ/copy_details.xul
@@ -36,8 +36,6 @@
     <![CDATA[
         function $(id) { return document.getElementById(id); }
 
-        var xulG = {};
-
         function my_init() {
             try {
                 if (typeof JSAN == 'undefined') { 
diff --git a/Open-ILS/xul/staff_client/server/serial/editor_base.js b/Open-ILS/xul/staff_client/server/serial/editor_base.js
index 6da04b0164..57a2236e7e 100644
--- a/Open-ILS/xul/staff_client/server/serial/editor_base.js
+++ b/Open-ILS/xul/staff_client/server/serial/editor_base.js
@@ -583,7 +583,6 @@ serial.editor_base = {
             } else if (xul_param('in_modal')) {
                 // TODO: this is to perhaps allow this editor to be called
                 // in a modal window, but is unfinished functionality
-                var xulG = {};
                 xulG[fm_type_plural] = obj[fm_type_plural];
             } else {
                 obj.data['temp_' + fm_type_plural] = js2JSON( obj[fm_type_plural] );