selfcheck checkin: throbber2
authorBill Erickson <berick@esilibrary.com>
Mon, 4 Feb 2013 19:24:00 +0000 (14:24 -0500)
committerBill Erickson <berick@esilibrary.com>
Mon, 4 Feb 2013 19:24:00 +0000 (14:24 -0500)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/circ/selfcheck/checkin_page.tt2
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js

index 5afbae4..b90a49d 100644 (file)
@@ -34,8 +34,8 @@
         <tbody id='oils-selfck-checkin-tbody'>
             <tr id='oils-selfck-checkin-row'>
                 <td><img class='oils-selfck-jacket' name='jacket'/></td>
-                <td name='barcode'><img src='http://scrapple/opac/images/progressbar_green.gif'></td>
-                <td name='title'></td>
+                <td name='barcode'></td>
+                <td name='title'><img src='http://scrapple/opac/images/progressbar_green.gif'/></td>
                 <td name='author'></td>
                 <td name='due_date'></td>
                 <td name='status'></td>
index 674232c..55e08e0 100644 (file)
@@ -645,6 +645,8 @@ SelfCheckManager.prototype.checkin = function(barcode) {
     if (backdate) backdate = dojo.date.stamp.toISOString(backdate);
 
     var row = this.checkinTemplate.cloneNode(true);
+    this.byName(row, 'barcode').innerHTML = barcode;
+
     // put new circs at the top of the list
     var tbody = this.checkinTbody;
     tbody.insertBefore(row, tbody.getElementsByTagName('tr')[0]);