From: pines Date: Tue, 6 Feb 2007 05:44:25 +0000 (+0000) Subject: default list behavior is append to top now, but we want these to append to bottom... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bb9b798d29ea7bfded901f65e9d00d3226888c94;p=Evergreen.git default list behavior is append to top now, but we want these to append to bottom because they're pre-sorted server side git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6898 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index 701d2e5cd8..a55432564d 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -182,7 +182,7 @@ patron.items.prototype = { fake_copy.barcode( '' ); fake_copy.circ_lib( nc_circ.circ_lib() ); - obj.list.append( { 'row' : { 'my' : { 'circ' : fake_circ, 'mvr' : fake_record, 'acp' : fake_copy } }, } ); + obj.list.append( { 'row' : { 'my' : { 'circ' : fake_circ, 'mvr' : fake_record, 'acp' : fake_copy } }, 'to_bottom' : true } ); } catch(F) { obj.error.standard_unexpected_error_alert('Error showing NonCat #' + robj[ii].id(),F); @@ -648,10 +648,10 @@ patron.items.prototype = { try { switch(which_list) { case 1: - obj.list2.append( { 'row' : { 'my' : { 'circ_id' : circ_id } }, } ); + obj.list2.append( { 'row' : { 'my' : { 'circ_id' : circ_id } }, 'to_bottom' : true } ); break; default: - obj.list.append( { 'row' : { 'my' : { 'circ_id' : circ_id } }, } ); + obj.list.append( { 'row' : { 'my' : { 'circ_id' : circ_id } }, 'to_bottom' : true } ); break; } } catch(E) { diff --git a/Open-ILS/xul/staff_client/server/patron/search_result.js b/Open-ILS/xul/staff_client/server/patron/search_result.js index ed18d86b0a..23a0480eae 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_result.js +++ b/Open-ILS/xul/staff_client/server/patron/search_result.js @@ -218,7 +218,7 @@ patron.search_result.prototype = { function gen_func(r) { return function() { - obj.list.append( { 'retrieve_id' : r, 'row' : {} } ); + obj.list.append( { 'retrieve_id' : r, 'row' : {}, 'to_bottom' : true } ); } }