From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 15 Jun 2010 19:45:08 +0000 (+0000)
Subject: specify @autoscroll=false for xul browser elements
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=429a448d2f3b9ef01350c9f592772a5f04c6ba37;p=contrib%2FConifer.git

specify @autoscroll=false for xul browser elements

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16723 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js
index dae0a74054..d850372fca 100644
--- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js
+++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js
@@ -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 {
diff --git a/Open-ILS/xul/staff_client/chrome/content/util/browser.xul b/Open-ILS/xul/staff_client/chrome/content/util/browser.xul
index 1d02de5b75..c6fc6e6149 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/browser.xul
+++ b/Open-ILS/xul/staff_client/chrome/content/util/browser.xul
@@ -120,7 +120,7 @@
             <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>
diff --git a/Open-ILS/xul/staff_client/chrome/content/util/deck.js b/Open-ILS/xul/staff_client/chrome/content/util/deck.js
index d0a8a215f8..8f6ff090cd 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/deck.js
+++ b/Open-ILS/xul/staff_client/chrome/content/util/deck.js
@@ -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 );
diff --git a/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul b/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul
index 18f4636ab6..66508f7371 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul
+++ b/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul
@@ -123,7 +123,7 @@
             <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>
diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul b/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
index 00d7774ea6..9f270fe750 100644
--- a/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
+++ b/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
@@ -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>
diff --git a/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul b/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul
index c958c56a4d..e0f3ee090f 100644
--- a/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul
+++ b/Open-ILS/xul/staff_client/server/patron/holds_overlay.xul
@@ -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" />