From 444884d1dc7afda2029581ebbc4a8ecfb300ee11 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 23 Aug 2007 17:06:55 +0000 Subject: [PATCH] This makes the 'twisties' in the holdings maintenance interface default to a closed position (ie. the plus sign), and they'll sync up correctly with rows whether they're expanded or not, but, new bug??, if you toggle these rows open and close rapidly enough with mouseclicks, you can get a 'missed-click' where the toggle does not happen. I tried tracing the behavior to pinpoint where exactly things go awry, but I'm giving up for now.. seems to be a minor bug, and the other display/render bug is fixed git-svn-id: svn://svn.open-ils.org/ILS/trunk@7712 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_browser.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.js b/Open-ILS/xul/staff_client/server/cat/copy_browser.js index f4b86ea2f0..da235d4659 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js @@ -961,7 +961,7 @@ cat.copy_browser.prototype = { } else { if (typeof org != 'object') org = obj.data.hash.aou[ org ]; } - obj.show_libs( org, true ); + obj.show_libs( org, false ); var p_org = obj.data.hash.aou[ org.parent_ou() ]; if (p_org) { @@ -976,7 +976,7 @@ cat.copy_browser.prototype = { funcs.push( function(o) { return function() { - obj.show_libs( o, true ); + obj.show_libs( o, false ); } }( p_org.children()[i] ) ); @@ -1056,7 +1056,7 @@ cat.copy_browser.prototype = { funcs.push( function(o) { return function() { - obj.show_libs(o,true); + obj.show_libs(o,false); } }( orgs[i] ) ); @@ -1537,7 +1537,7 @@ cat.copy_browser.prototype = { 'on_click' : function(ev) { netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserRead'); var row = {}; var col = {}; var nobj = {}; - obj.list.node.treeBoxObject.getCellAt(ev.clientX,ev.clientY,row,col,nobj); + obj.list.node.treeBoxObject.getCellAt(ev.clientX,ev.clientY,row,col,nobj); if ((row.value == -1)||(nobj.value != 'twisty')) { return; } var node = obj.list.node.contentView.getItemAtIndex(row.value); var list = [ node.getAttribute('retrieve_id') ]; -- 2.11.0