this not obj
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Dec 2005 19:14:01 +0000 (19:14 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Dec 2005 19:14:01 +0000 (19:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2312 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/opac.js

index 27b8c4d..38e9aa7 100644 (file)
@@ -51,8 +51,8 @@ cat.opac.prototype = {
 
                try {
                        netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
-                       obj.controller.view.opac_browser.contentWindow.IAMXUL = true;
-                       if (window.xulG) obj.controller.view.opac_browser.contentWindow.xulG = xulG;
+                       this.controller.view.opac_browser.contentWindow.IAMXUL = true;
+                       if (window.xulG) this.controller.view.opac_browser.contentWindow.xulG = xulG;
                } catch(E) {
                        this.error.sdump('D_ERROR','cat.opac.push_variables: ' + E + '\n');
                }