Bumping version numbers, adding Upgrade Script and Changelog
[transitory.git] / Open-ILS / xul / staff_client / defaults / preferences / prefs.js
index 8621a93..af95b83 100644 (file)
@@ -2,35 +2,37 @@
 
 // Modified by Jason for Evergreen
 
-// This one is required for XUL Runner
-pref("toolkit.defaultChromeURI", "chrome://open_ils_staff_client/content/main/main.xul");
-
-// This one just makes things speedier.  We use a lot of XMLHttpRequest
-pref("network.http.max-persistent-connections-per-server",8);
-
-// more speed-up attempts
-pref("content.maxtextrun",16385);
-pref("browser.display.show_image_placeholders", false);
-
-// This stops the unresponsive script warning, but the code is still too slow for some reason.
-// However, it's better than POEM, which I wasted a day on :)
-pref("dom.max_script_run_time",60);
-
-// This lets remote xul access link to local chrome, except it doesn't work
-pref("security.checkloaduri", false);
-pref("signed.applets.codebase_principal_support", true);
-
-// This stops the pop-up blocker.  Well it should, but it doesn't work here
-pref("dom.disable_open_during_load", false);
-pref("browser.popups.showPopupBlocker", false);
-pref("privacy.popups.disable_from_plugins",0);
-pref("privacy.popups.policy",0);
-
-// Developer options
-pref("browser.dom.window.dump.enabled",true);
-pref("javascript.options.strict",false);
-pref("javascript.options.showInConsole",true);
-pref("nglayout.debug.disable_xul_cache",true);
-pref("nglayout.debug.disable_xul_fastload",true);
-pref("browser.xul.error_pages.enabled",true);
-
+// These are specific to Evergreen
+pref("open-ils.write_in_user_chrome_directory", true);
+pref("open-ils.disable_accesskeys_on_tabs", false);
+pref("toolkit.singletonWindowType", "eg_main");
+
+// Toggles for experimental features that may later become org unit settings
+pref("open-ils.enable_join_tabs", true);
+
+// We'll use this one to help brand some build information into the client, and rely on subversion keywords
+pref("open-ils.repository.headURL","http://git.evergreen-ils.org/Evergreen.git?h=refs/heads/rel_2_3_0");
+pref("open-ils.repository.author","$Author$");
+pref("open-ils.repository.revision","$Revision$");
+pref("open-ils.repository.date","$Date$");
+pref("open-ils.repository.id","$Id$");
+
+// Base (empty) prefs for local menu and toolbar customizations
+// NOTE: IF YOU SET DEFAULTS ON THESE THE ORG UNIT SETTING VARIANT WON'T WORK
+pref("open-ils.menu.hotkeyset", "");
+pref("open-ils.menu.toolbar", "");
+// For now these are only workstation level and are safe to set defaults on if desired
+pref("open-ils.menu.toolbar.iconsize", "");
+pref("open-ils.menu.toolbar.mode", "");
+pref("open-ils.menu.toolbar.labelbelow", false);
+pref("open-ils.toolbar.defaultnewtab", false);
+
+// Template Toolkit Opac Enabled in Staff Client
+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);