quick fix for standalone, append to top of list
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 13 Sep 2006 17:59:28 +0000 (17:59 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 13 Sep 2006 17:59:28 +0000 (17:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6082 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.js
Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.js
Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.js
Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.js

index be8b8bd..1538eef 100644 (file)
@@ -84,7 +84,7 @@ function append_to_list() {
                if (! i_barcode) return; 
                my.barcode = i_barcode; 
        
-               g.list.append( { 'row' : { 'my' : my } } );
+               g.list.append( { 'row' : { 'my' : my }, 'to_top' : true } );
 
                var x = $('i_barcode'); x.value = ''; x.focus();
 
index 3751be8..1b7f59c 100644 (file)
@@ -228,7 +228,7 @@ function append_to_list(checkout_type,count) {
                        default: alert("Please report that this happened."); break;
                }
        
-               g.list.append( { 'row' : { 'my' : my } } );
+               g.list.append( { 'row' : { 'my' : my }, 'to_top' : true } );
 
                var x = $('i_barcode'); x.value = ''; x.focus();
 
index 15a788b..01ab53b 100644 (file)
@@ -87,7 +87,7 @@ function append_to_list() {
                if (!Number(count) || count < 1) count = 1;
                my.count = count;
 
-               g.list.append( { 'row' : { 'my' : my } } );
+               g.list.append( { 'row' : { 'my' : my }, 'to_top' : true } );
 
                var x = $('i_barcode'); x.value = ''; x.focus();
 
index a0ea3e2..1437a7e 100644 (file)
@@ -193,7 +193,7 @@ function append_to_list(checkout_type,count) {
                        default: alert("Please report that this happened."); break;
                }
        
-               g.list.append( { 'row' : { 'my' : my } } );
+               g.list.append( { 'row' : { 'my' : my }, 'to_top' : true } );
 
                var x = $('i_barcode'); x.value = ''; x.focus();