dragging operation on the grippy in the tab bar splitter wrongly resized only the placeholder, so the splitter could be placed behind tabs and the tab bar couldn't be resized anymore.

This commit is contained in:
SHIMODA Hiroshi 2011-02-14 11:06:59 +09:00
parent 93ab502fcf
commit e582e0c224

View File

@ -1115,10 +1115,9 @@ var TreeStyleTabService = {
onTabbarResizeStart : function TSTService_onTabbarResizeStart(aEvent)
{
if (this.isEventFiredOnGrippy(aEvent))
return;
if (!this.isEventFiredOnGrippy(aEvent))
aEvent.stopPropagation();
aEvent.stopPropagation();
if ('setCapture' in aEvent.currentTarget)
aEvent.currentTarget.setCapture(true);