[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1a8f9cb13c7c096a7b90a1abde7f54da3b57af8a

Evergreen Git git at git.evergreen-ils.org
Tue Mar 6 14:38:01 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  1a8f9cb13c7c096a7b90a1abde7f54da3b57af8a (commit)
      from  a7243f4497ddcb42c39188e6c82c879020e95eff (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1a8f9cb13c7c096a7b90a1abde7f54da3b57af8a
Author: Ben Shum <bshum at biblio.org>
Date:   Tue Feb 14 14:54:43 2012 -0500

    Add default preference for max tabs in staff client.
    
    By default, this is set to 0 for unlimited tabs. Including this setting
    will allow staff client packagers to more easily assign a limit if desired.
    
    Some reasons for adding a tab limit include:
    
      1) avoiding memory exhaustion - opening too many tabs can be bad
      2) preserving staff sanity - do not have too many tabs open at once
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>

diff --git a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js
index bf3d517..6352b6e 100644
--- a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js
+++ b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js
@@ -32,3 +32,7 @@ pref("oils.use_tpac", false);
 
 // Copy location name first in copy editor
 pref("oils.copy_editor.copy_location_name_first", false);
+
+// Number of tabs that can be opened in Staff Client
+// NOTE: If the value is set to 0 or less, there is no limit to number of tabs.
+pref("open-ils.window_max_tabs", 0);

-----------------------------------------------------------------------

Summary of changes:
 .../xul/staff_client/defaults/preferences/prefs.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list