diff --git a/modules/tabbarDNDObserver.js b/modules/tabbarDNDObserver.js index d2df629c..9d2bf9dc 100644 --- a/modules/tabbarDNDObserver.js +++ b/modules/tabbarDNDObserver.js @@ -694,18 +694,24 @@ catch(e) { if (tabsInfo.draggedTabs.length <= 1) return; +/* if ( 'MultipleTabService' in w && 'isSelected' in w.MultipleTabService && - 'setSelection' in w.MultipleTabService && + 'getSelectedTabs' in w.MultipleTabService && 'clearSelection' in w.MultipleTabService && - !w.MultipleTabService.isSelected(aTab) + 'setSelection' in w.MultipleTabService && + ( + !w.MultipleTabService.isSelected(aTab) || + w.MultipleTabService.getSelectedTabs(sv.browser) == [aTab] + ) ) { w.MultipleTabService.clearSelection(sv.browser); tabsInfo.draggedTabs.forEach(function(aTab) { w.MultipleTabService.setSelection(aTab, true); }); } +*/ w['piro.sakura.ne.jp'].tabsDragUtils.startTabsDrag(aEvent, tabsInfo.draggedTabs); },