From: phasefx Date: Fri, 13 Jun 2008 21:01:13 +0000 (+0000) Subject: Retrieve Record via internal Bib Id. No error checking X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=07e83dac65591068ee2a18811e0d65aa030cb737;p=Evergreen.git Retrieve Record via internal Bib Id. No error checking git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_2@9835 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 87e77e3545..089eb9b1a5 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -630,6 +630,8 @@ + + @@ -757,6 +759,8 @@ + + diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index 4ac7492744..a1b6d2af39 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -226,6 +226,25 @@ main.menu.prototype = { } } ], + 'cmd_search_bib_id' : [ + ['oncommand'], + function() { + var bib_id = prompt('What is the internal ID for the bibliographic record?','','Bib ID Lookup'); + if (!bib_id) return; + + var opac_url = obj.url_prefix( urls.opac_rdetail ) + '?r=' + bib_id; + var content_params = { + 'session' : ses(), + 'authtime' : ses('authtime'), + 'opac_url' : opac_url, + }; + obj.set_tab( + obj.url_prefix(urls.XUL_OPAC_WRAPPER), + {'tab_name':'Record #' + bib_id}, + content_params + ); + } + ], 'cmd_copy_status' : [ ['oncommand'], function() { diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul index 9f1c264c79..b1b1f67e88 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu_frame_menus.xul @@ -34,6 +34,7 @@ + @@ -150,6 +151,7 @@ +