changed wording on place-hold-for-me button, moved it farther over to the right....
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Mar 2008 15:37:56 +0000 (15:37 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 12 Mar 2008 15:37:56 +0000 (15:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@8989 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/locale/en-US/opac.dtd
Open-ILS/web/opac/skin/default/css/layout.css
Open-ILS/web/opac/skin/default/js/holds.js
Open-ILS/web/opac/skin/default/xml/common/holds.xml

index b45c40b..5606892 100644 (file)
@@ -560,7 +560,7 @@ We recommend that you remove this title from any bookbags it may have been added
 <!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">
index 2f170e5..5becafe 100644 (file)
@@ -244,4 +244,4 @@ table { border-collapse: collapse; }
 
 #opac.result.sort { margin-left: 5px; }
 
-
+#xul_recipient_me { margin-left: 25px; }
index e6a1bd6..652e6f9 100644 (file)
@@ -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() {
index 1b6ba34..68367b8 100644 (file)
                                        <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>