specify @autoscroll=false for xul browser elements
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 15 Jun 2010 19:45:08 +0000 (19:45 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 15 Jun 2010 19:45:08 +0000 (19:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16723 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/menu.js
Open-ILS/xul/staff_client/chrome/content/util/browser.xul
Open-ILS/xul/staff_client/chrome/content/util/deck.js
Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul
Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
Open-ILS/xul/staff_client/server/patron/holds_overlay.xul

index dae0a74..d850372 100644 (file)
@@ -1539,6 +1539,7 @@ main.menu.prototype = {
                 frame = this.w.document.createElement('browser');
                 frame.setAttribute('flex','1');
                 frame.setAttribute('type','content');
+                frame.setAttribute('autoscroll','false');
                 frame.setAttribute('id','frame_'+obj.id_incr);
                 panel.appendChild(frame);
                 try {
index 1d02de5..c6fc6e6 100644 (file)
             <label id="debug" value="Debug" disabled="true" command="cmd_debug" onclick="this.doCommand();" />
             <button id="browser_print" command="cmd_print" hidden="true"/>
         </hbox>
-        <browser id="browser_browser" flex="1" type="content"/>
+        <browser id="browser_browser" flex="1" autoscroll="false" type="content"/>
     </vbox>
 
 </window>
index d0a8a21..8f6ff09 100644 (file)
@@ -157,6 +157,7 @@ util.deck.prototype = {
         var browser = document.createElement('browser');
         obj.id_incr++;
         browser.setAttribute('type','content');
+        browser.setAttribute('autoscroll','false');
         browser.setAttribute('id','frame_'+obj.id_incr);
         browser.setAttribute('src',url);
         this.node.appendChild( browser );
index 18f4636..66508f7 100644 (file)
             <label id="debug" value="Debug" disabled="true" command="cmd_debug" onclick="this.doCommand();" />
             <button id="browser_print" command="cmd_print" hidden="true"/>
         </hbox>
-        <browser id="browser_browser" flex="1" type="content"/>
+        <browser id="browser_browser" flex="1" autoscroll="false" type="content"/>
     </vbox>
 
 </window>
index 00d7774..9f270fe 100644 (file)
@@ -94,7 +94,7 @@
         <hbox id="copy_status_top_ui" />
         <deck id="deck" flex="1">
             <tree id="copy_status_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
-            <browser id="copy_status_frame" src="" flex="1" />
+            <browser id="copy_status_frame" src="" flex="1" autoscroll="false" />
         </deck>
         <hbox id="copy_status_bottom_ui" />
     </groupbox>
index c958c56..e0f3ee0 100644 (file)
@@ -99,7 +99,7 @@
             </vbox>
             <deck id="deck" flex="1">
                 <tree id="holds_list" flex="1" enableColumnDrag="true" context="holds_actions"/>
-                <browser id="hold_detail_frame" src="" flex="1" />
+                <browser id="hold_detail_frame" src="" flex="1" autoscroll="false" />
             </deck>
             <vbox flex="0">
             <hbox id="holds_bottom_ui" />