[open-ils-commits] r8989 - in branches/rel_1_2/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:11:17 EDT 2008
Author: erickson
Date: 2008-03-12 11:37:56 -0400 (Wed, 12 Mar 2008)
New Revision: 8989
Modified:
branches/rel_1_2/Open-ILS/web/opac/locale/en-US/opac.dtd
branches/rel_1_2/Open-ILS/web/opac/skin/default/css/layout.css
branches/rel_1_2/Open-ILS/web/opac/skin/default/js/holds.js
branches/rel_1_2/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: branches/rel_1_2/Open-ILS/web/opac/locale/en-US/opac.dtd
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/locale/en-US/opac.dtd 2008-03-12 15:17:54 UTC (rev 8988)
+++ branches/rel_1_2/Open-ILS/web/opac/locale/en-US/opac.dtd 2008-03-12 15:37:56 UTC (rev 8989)
@@ -560,7 +560,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: branches/rel_1_2/Open-ILS/web/opac/skin/default/css/layout.css
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/skin/default/css/layout.css 2008-03-12 15:17:54 UTC (rev 8988)
+++ branches/rel_1_2/Open-ILS/web/opac/skin/default/css/layout.css 2008-03-12 15:37:56 UTC (rev 8989)
@@ -244,4 +244,4 @@
#opac.result.sort { margin-left: 5px; }
-
+#xul_recipient_me { margin-left: 25px; }
Modified: branches/rel_1_2/Open-ILS/web/opac/skin/default/js/holds.js
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/skin/default/js/holds.js 2008-03-12 15:17:54 UTC (rev 8988)
+++ branches/rel_1_2/Open-ILS/web/opac/skin/default/js/holds.js 2008-03-12 15:37:56 UTC (rev 8989)
@@ -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: branches/rel_1_2/Open-ILS/web/opac/skin/default/xml/common/holds.xml
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/skin/default/xml/common/holds.xml 2008-03-12 15:17:54 UTC (rev 8988)
+++ branches/rel_1_2/Open-ILS/web/opac/skin/default/xml/common/holds.xml 2008-03-12 15:37:56 UTC (rev 8989)
@@ -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