From: pines Date: Wed, 11 Apr 2007 20:43:33 +0000 (+0000) Subject: disable auto-select to prevent a bug.. the problem here is that some of the actions... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cd38b2fde199897597d81743827d166d3627cd68;p=Evergreen.git disable auto-select to prevent a bug.. the problem here is that some of the actions require data that becomes available after fleshing of the rows, and the rows are getting selected before they're fleshed. A solution would be to have a completed flesh fire an on_select event to sync the selected data git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@7145 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 2bd2cb524f..64caea1845 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 } }, 'to_bottom' : true } ); + obj.list.append( { 'row' : { 'my' : { 'circ' : fake_circ, 'mvr' : fake_record, 'acp' : fake_copy } }, 'to_bottom' : true, 'no_auto_select' : true } ); } catch(F) { obj.error.standard_unexpected_error_alert('Error showing NonCat #' + robj[ii].id(),F);