From b7c224a2b4da8d595bf4c7b7a00f1576306fc39e Mon Sep 17 00:00:00 2001 From: pines Date: Wed, 13 Sep 2006 17:59:28 +0000 Subject: [PATCH] quick fix for standalone, append to top of list git-svn-id: svn://svn.open-ils.org/ILS/trunk@6082 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../xul/staff_client/chrome/content/circ/offline_checkin.js | 2 +- .../xul/staff_client/chrome/content/circ/offline_checkout.js | 2 +- .../staff_client/chrome/content/circ/offline_in_house_use.js | 2 +- Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.js b/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.js index be8b8bdd5d..1538eefc46 100644 --- a/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.js +++ b/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkin.js @@ -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(); diff --git a/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.js b/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.js index 3751be8d98..1b7f59cc56 100644 --- a/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.js +++ b/Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.js @@ -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(); diff --git a/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.js b/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.js index 15a788b08d..01ab53bd07 100644 --- a/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.js +++ b/Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.js @@ -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(); diff --git a/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.js b/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.js index a0ea3e2e11..1437a7ebbe 100644 --- a/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.js +++ b/Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.js @@ -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(); -- 2.43.2