[open-ils-commits] r8990 - in trunk/Open-ILS/web/opac: locale/en-US
skin/default/css skin/default/js skin/default/xml/common
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 12 12:12:41 EDT 2008
Author: erickson
Date: 2008-03-12 11:39:20 -0400 (Wed, 12 Mar 2008)
New Revision: 8990
Modified:
trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
trunk/Open-ILS/web/opac/skin/default/css/layout.css
trunk/Open-ILS/web/opac/skin/default/js/holds.js
trunk/Open-ILS/web/opac/skin/default/xml/common/holds.xml
Log:
changed wording on place-hold-for-me button, moved it farther over to the right. disbled when any text is in the barcode field
Modified: trunk/Open-ILS/web/opac/locale/en-US/opac.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/opac.dtd 2008-03-12 15:37:56 UTC (rev 8989)
+++ trunk/Open-ILS/web/opac/locale/en-US/opac.dtd 2008-03-12 15:39:20 UTC (rev 8990)
@@ -559,7 +559,7 @@
<!ENTITY common.isbn.label "ISBN:">
<!ENTITY common.issn.label "ISSN:">
<!ENTITY common.copy.barcode.label "Copy Barcode:">
-<!ENTITY common.hold.place "Place hold for me">
+<!ENTITY common.hold.place "Place hold for my account">
<!ENTITY common.hold.check "Checking for possibility of hold fulfillment...">
<!ENTITY common.hold.create "Create / Edit a Hold">
<!ENTITY common.hold.update "Update Hold">
Modified: trunk/Open-ILS/web/opac/skin/default/css/layout.css
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/css/layout.css 2008-03-12 15:37:56 UTC (rev 8989)
+++ trunk/Open-ILS/web/opac/skin/default/css/layout.css 2008-03-12 15:39:20 UTC (rev 8990)
@@ -244,4 +244,4 @@
#opac.result.sort { margin-left: 5px; }
-
+#xul_recipient_me { margin-left: 25px; }
Modified: trunk/Open-ILS/web/opac/skin/default/js/holds.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/holds.js 2008-03-12 15:37:56 UTC (rev 8989)
+++ trunk/Open-ILS/web/opac/skin/default/js/holds.js 2008-03-12 15:39:20 UTC (rev 8990)
@@ -18,6 +18,13 @@
{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() {
Modified: trunk/Open-ILS/web/opac/skin/default/xml/common/holds.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/common/holds.xml 2008-03-12 15:37:56 UTC (rev 8989)
+++ trunk/Open-ILS/web/opac/skin/default/xml/common/holds.xml 2008-03-12 15:39:20 UTC (rev 8990)
@@ -12,13 +12,10 @@
<tr>
<td>&opac.holds.xulRecipient;:</td>
<td><input type='text' id='xul_recipient_barcode' /></td>
- <td><input type='submit' value='&common.submit;'
- id='xul_recipient_barcode_submit' /></td>
- <td><input type='submit' value='&common.hold.place;'
- id='xul_recipient_me' /></td>
+ <td><input type='submit' value='&common.submit;' id='xul_recipient_barcode_submit' /></td>
<td><input type='submit' value='&common.cancel;' onclick='showCanvas();' /></td>
+ <td><input type='submit' value='&common.hold.place;' id='xul_recipient_me' /></td>
</tr>
-
</tbody>
</table>
</center>
More information about the open-ils-commits
mailing list