[open-ils-commits] r18286 - trunk/Open-ILS/xul/staff_client/chrome/content/util (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Oct 12 15:34:40 EDT 2010
Author: phasefx
Date: 2010-10-12 15:34:35 -0400 (Tue, 12 Oct 2010)
New Revision: 18286
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul
Log:
add option for hiding entire embedded browser toolbar
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul 2010-10-12 19:23:22 UTC (rev 18285)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul 2010-10-12 19:34:35 UTC (rev 18286)
@@ -81,6 +81,10 @@
document.getElementById('browser_print').hidden = false;
}
+ if (xul_param('show_toolbar')) {
+ document.getElementById('browser_toolbar').hidden = xul_param('show_toolbar');
+ }
+
if (xul_param('title')) {
try { document.title = xul_param('title'); } catch(E) {}
try { window.title = xul_param('title'); } catch(E) {}
@@ -124,7 +128,7 @@
</popupset>
<vbox flex="1">
- <hbox>
+ <hbox id="browser_toolbar">
<button id="back" command="cmd_back" disabled="true" hidden="true"/>
<button id="reload" command="cmd_reload" disabled="false" hidden="false"/>
<button id="forward" command="cmd_forward" disabled="true" hidden="true"/>
More information about the open-ils-commits
mailing list