push mw (and big G) into xuledit results
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jun 2005 13:52:37 +0000 (13:52 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jun 2005 13:52:37 +0000 (13:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@967 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/util/xuledit.js

index 9366c88..ca0df4e 100644 (file)
@@ -1,4 +1,5 @@
 // From Ted's Mozilla page: http://ted.mielczarek.org/code/mozilla/index.html 
+// Modified by Jason for Evergreen to push in the main (auth) window reference
 var old = '';
 var timeout = -1;
 var xwin = null;
@@ -49,6 +50,8 @@ function update()
     else
       xwin.setAttribute("src",dataURI);
   }
+  try { xwin.contentWindow.mw = mw; } catch(E) {}
+  try { xwin.mw = mw; } catch(E) {}
 
   timeout = window.setTimeout(update, 500);
 }