Add default preference for max tabs in staff client. user/bshum/lp932295-max-tab-limit-setting
authorBen Shum <bshum@biblio.org>
Tue, 14 Feb 2012 19:54:43 +0000 (14:54 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 14 Feb 2012 19:54:43 +0000 (14:54 -0500)
commitc657d1bb54734a0ab043fabf2053cb2c00053c24
tree3d5bd05ce5d20e57678640f95685451e6b045e18
parentbd0057b49bd7179bf71962eff64ce0029e1067e6
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@biblio.org>
Open-ILS/xul/staff_client/defaults/preferences/prefs.js