Fix bug 175575. Dbl-click in tab bar opens new tab.

git-svn-id: svn://10.0.0.236/trunk@232590 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 2007-08-22 04:59:03 +00:00
parent 857df5e7b1
commit 86b1dc8677

View File

@ -85,7 +85,7 @@
ondragdrop="nsDragAndDrop.drop(event, this.parentNode.parentNode.parentNode);
event.stopPropagation();"
xbl:inherits="onnewtab"
ondblclick="if (event.target.localName == 'tabs') this.parentNode.parentNode.parentNode.addTab();"
ondblclick="if (event.target.localName == 'tabs') this.parentNode.parentNode.parentNode.selectedTab = this.parentNode.parentNode.parentNode.addTab();"
onclosetab="var node = this.parentNode;
while (node.localName != 'tabbrowser')
node = node.parentNode;