From: erickson Date: Wed, 12 Mar 2008 15:39:20 +0000 (+0000) Subject: changed wording on place-hold-for-me button, moved it farther over to the right.... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e5fa38185bf2a872594ab98ff66fe71c248be117;p=Evergreen.git changed wording on place-hold-for-me button, moved it farther over to the right. disbled when any text is in the barcode field git-svn-id: svn://svn.open-ils.org/ILS/trunk@8990 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/locale/en-US/opac.dtd b/Open-ILS/web/opac/locale/en-US/opac.dtd index 457b07e4ea..94cc1189bb 100644 --- a/Open-ILS/web/opac/locale/en-US/opac.dtd +++ b/Open-ILS/web/opac/locale/en-US/opac.dtd @@ -559,7 +559,7 @@ We recommend that you remove this title from any bookbags it may have been added - + diff --git a/Open-ILS/web/opac/skin/default/css/layout.css b/Open-ILS/web/opac/skin/default/css/layout.css index 2f170e5a54..5becafee62 100644 --- a/Open-ILS/web/opac/skin/default/css/layout.css +++ b/Open-ILS/web/opac/skin/default/css/layout.css @@ -244,4 +244,4 @@ table { border-collapse: collapse; } #opac.result.sort { margin-left: 5px; } - +#xul_recipient_me { margin-left: 25px; } diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index e6a1bd6f3f..652e6f9a74 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -18,6 +18,13 @@ function holdsHandleStaff() { {if(userPressedEnter(evt)) { _holdsHandleStaff(); } }; $('xul_recipient_barcode_submit').onclick = _holdsHandleStaff; $('xul_recipient_me').onclick = _holdsHandleStaffMe; + + $('xul_recipient_barcode').onkeyup = function(evt) { + if($('xul_recipient_barcode').value == '') + $('xul_recipient_me').disabled = false; + else + $('xul_recipient_me').disabled = true; + }; } function _holdsHandleStaffMe() { diff --git a/Open-ILS/web/opac/skin/default/xml/common/holds.xml b/Open-ILS/web/opac/skin/default/xml/common/holds.xml index 1b6ba34654..68367b8bc4 100644 --- a/Open-ILS/web/opac/skin/default/xml/common/holds.xml +++ b/Open-ILS/web/opac/skin/default/xml/common/holds.xml @@ -12,13 +12,10 @@ &opac.holds.xulRecipient;: - - + + -