Skip to content

Commit

Permalink
Fix tree multiple selection. Oops!, r=jrgm
Browse files Browse the repository at this point in the history
  • Loading branch information
hyatt%netscape.com committed Sep 1, 2000
1 parent 1d7c6d9 commit fce5f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpfe/global/resources/content/treeBindings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
click, so that drags work correctly. -->
<handler event="mousedown">
<![CDATA[
if (event.target.localName == 'treecell') {
if (event.target.localName == 'treecell' && !event.ctrlKey && !event.shiftKey && !event.metaKey) {
var isSelected = event.target.parentNode.parentNode.getAttribute("selected");
if (!isSelected) {
parentNode.selectItem(event.target.parentNode.parentNode);
Expand Down

0 comments on commit fce5f27

Please sign in to comment.