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

git-svn-id: svn://10.0.0.236/trunk@132299 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 2002-10-20 03:24:56 +00:00
parent d2960769f8
commit f4cd4bd5a4

View File

@ -85,6 +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();"
onclosetab="var node = this.parentNode;
while (node.localName != 'tabbrowser')
node = node.parentNode;