don't select dragged tabs
This commit is contained in:
parent
a1b73fb9a2
commit
efca844cf5
@ -694,18 +694,24 @@ catch(e) {
|
|||||||
if (tabsInfo.draggedTabs.length <= 1)
|
if (tabsInfo.draggedTabs.length <= 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/*
|
||||||
if (
|
if (
|
||||||
'MultipleTabService' in w &&
|
'MultipleTabService' in w &&
|
||||||
'isSelected' in w.MultipleTabService &&
|
'isSelected' in w.MultipleTabService &&
|
||||||
'setSelection' in w.MultipleTabService &&
|
'getSelectedTabs' in w.MultipleTabService &&
|
||||||
'clearSelection' 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);
|
w.MultipleTabService.clearSelection(sv.browser);
|
||||||
tabsInfo.draggedTabs.forEach(function(aTab) {
|
tabsInfo.draggedTabs.forEach(function(aTab) {
|
||||||
w.MultipleTabService.setSelection(aTab, true);
|
w.MultipleTabService.setSelection(aTab, true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
w['piro.sakura.ne.jp'].tabsDragUtils.startTabsDrag(aEvent, tabsInfo.draggedTabs);
|
w['piro.sakura.ne.jp'].tabsDragUtils.startTabsDrag(aEvent, tabsInfo.draggedTabs);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user