From c117ad1ccffa8eee2693fc8e98747a5479250dd1 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Wed, 19 Jan 2011 19:03:40 +0900 Subject: [PATCH] drop indicator of the tab bar is shown wrongly for vertical tab bar. --- modules/tabbarDNDObserver.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/tabbarDNDObserver.js b/modules/tabbarDNDObserver.js index 9d2bf9dc..b277bd6d 100644 --- a/modules/tabbarDNDObserver.js +++ b/modules/tabbarDNDObserver.js @@ -942,8 +942,12 @@ try{ info.position == sv.kDROP_AFTER ? 'after' : 'self' ); + var indicator = b.mTabDropIndicatorBar || b.tabContainer._tabDropIndicator; indicator.setAttribute('dragging', (info.position == sv.kDROP_ON) ? 'false' : 'true' ); + if (sv.isVertical) + indicator.collapsed = true; + return (info.position == sv.kDROP_ON || sv.currentTabbarPosition != 'top') } catch(e) {