default list behavior is append to top now, but we want these to append to bottom...
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Feb 2007 05:44:25 +0000 (05:44 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Feb 2007 05:44:25 +0000 (05:44 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6898 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/items.js
Open-ILS/xul/staff_client/server/patron/search_result.js

index 701d2e5..a554325 100644 (file)
@@ -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) {
index ed18d86..23a0480 100644 (file)
@@ -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 } );
                                        }
                                }