From 0890a1b106f94f45c0a8bef8b77f07263c410e63 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 12 Oct 2010 19:34:35 +0000 Subject: [PATCH] add option for hiding entire embedded browser toolbar git-svn-id: svn://svn.open-ils.org/ILS/trunk@18286 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/rbrowser.xul | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 5099a4c32..822aa1f1f 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 @@ - +