From: phasefx Date: Tue, 12 Oct 2010 19:34:35 +0000 (+0000) Subject: add option for hiding entire embedded browser toolbar X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0890a1b106f94f45c0a8bef8b77f07263c410e63;p=evergreen%2Ftadl.git add option for hiding entire embedded browser toolbar git-svn-id: svn://svn.open-ils.org/ILS/trunk@18286 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 5099a4c32b..822aa1f1fd 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul +++ b/Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul @@ -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 @@ - +