From: phasefx Date: Sun, 1 Feb 2009 04:45:10 +0000 (+0000) Subject: Chrome List extension X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=852e199d1ea9e8f80288ad40d1ef71efff69ac84;p=Evergreen.git Chrome List extension git-svn-id: svn://svn.open-ils.org/ILS/branches/staff-client-experiment@12029 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index 3771991c8a..7741cc4493 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -567,6 +567,10 @@ + + + + diff --git a/Open-ILS/xul/staff_client/chrome/chrome.manifest b/Open-ILS/xul/staff_client/chrome/chrome.manifest index da0c5ef6d3..7447d7db39 100644 --- a/Open-ILS/xul/staff_client/chrome/chrome.manifest +++ b/Open-ILS/xul/staff_client/chrome/chrome.manifest @@ -37,3 +37,10 @@ content inspector jar:inspector.jar!/content/inspector/ xpcnativewrappers=no overlay chrome://inspector/content/commandOverlay.xul chrome://inspector/content/viewers/dom/commandOverlay.xul overlay chrome://inspector/content/inspector.xul chrome://browser/content/baseMenuOverlay.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} overlay chrome://inspector/content/inspector.xul chrome://communicator/content/tasksOverlay.xul application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} + +content chromelist jar:chrome_list.jar!/content/ +skin chromelist modern/1.0 jar:chrome_list.jar!/skin/ +locale chromelist en-US jar:chrome_list.jar!/locale/ +overlay chrome://browser/content/browser.xul chrome://chromelist/content/overlay/ChromeListOverlay.xul +overlay chrome://messenger/content/messenger.xul chrome://chromelist/content/overlay/ChromeListOverlay.xul + diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js index 82045db1f0..5d22a8c4fe 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js @@ -72,6 +72,12 @@ auth.controller.prototype = { start_inspector(); } ], + 'cmd_chrome_list' : [ + ['command'], + function() { + start_chrome_list(); + } + ], 'cmd_override' : [ ['command'], function() { diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.js b/Open-ILS/xul/staff_client/chrome/content/main/main.js index 121c6f90d3..8e304cd694 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.js @@ -56,6 +56,14 @@ function start_inspector() { ); }; +function start_chrome_list() { + setTimeout( + function() { + try { startChromeList(); } catch(E) { alert(E); } + }, 0 + ); +}; + function main_init() { dump('entering main_init()\n'); try { diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.xul b/Open-ILS/xul/staff_client/chrome/content/main/main.xul index f0cb70eb11..a153b131de 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.xul @@ -57,6 +57,8 @@