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

This commit is contained in:
hyatt@netscape.com 2007-08-21 21:59:03 -07:00
parent 3ae31359c9
commit db9873a214

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;