text selection with embedded opac. The strange thing is that we were on the right...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Aug 2005 17:13:17 +0000 (17:13 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Aug 2005 17:13:17 +0000 (17:13 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1633 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/opac/opac.js
Evergreen/staff_client/chrome/content/evergreen/opac/opac.xul

index fccd68c..e1a2ec2 100644 (file)
@@ -8,12 +8,16 @@ var OPAC_URL = "http://gapines.org/opac/?top_target=advanced_search";
 function opac_init(p) {
        sdump('D_OPAC',"Initing OPAC\n");
 
-       var box = p.w.document.getElementById('opac_vbox');
-       p.opac_iframe = box.appendChild(document.createElement("browser"));
+       //var box = p.w.document.getElementById('opac_vbox');
+       //p.opac_iframe = p.w.document.createElement("browser");
+       //box.appendChild( p.opac_iframe );
 
-       p.opac_iframe.setAttribute("type", "content-primary");
-       p.opac_iframe.setAttribute("id", "opac_opac_iframe");
-       p.opac_iframe.setAttribute("flex", "1");
+       p.opac_iframe = p.w.document.getElementById('opac_iframe');
+
+       //p.opac_iframe.setAttribute("type", "content-primary");
+       //p.opac_iframe.type = "content-primary";
+       //p.opac_iframe.setAttribute("id", "opac_opac_iframe");
+       //p.opac_iframe.setAttribute("flex", "1");
        p.opac_iframe.setAttribute("src", OPAC_URL) 
 
        opac_build_callbacks(p);
index 862e617..1da6a75 100644 (file)
@@ -18,8 +18,7 @@
        <?xml-stylesheet href="chrome://evergreen/skin/opac.css" type="text/css"?>
 
        <vbox id="opac_vbox" flex="1">
-               <hbox id="opac_hbox">
-               </hbox>
+               <browser id="opac_iframe" type="content-primary" flex="1"/>
        </vbox>
 
 </page>