зеркало из https://github.com/mozilla/gecko-dev.git
Removing some tabs that snuck in with the reversion...
This commit is contained in:
Родитель
3fa0be0aa7
Коммит
d525ffd66d
|
@ -57,12 +57,12 @@
|
|||
// XXX Check for cycler.
|
||||
if (event.button != 0) return;
|
||||
var row = {};
|
||||
var col = {};
|
||||
var col = {};
|
||||
var b = this.parentNode.outlinerBoxObject;
|
||||
b.getCellAt(event.clientX, event.clientY, row, col);
|
||||
var augment = event.ctrlKey || event.metaKey;
|
||||
if (event.shiftKey) {
|
||||
b.selection.rangedSelect(-1, row.value, augment);
|
||||
b.getCellAt(event.clientX, event.clientY, row, col);
|
||||
var augment = event.ctrlKey || event.metaKey;
|
||||
if (event.shiftKey) {
|
||||
b.selection.rangedSelect(-1, row.value, augment);
|
||||
b.currentIndex = row.value;
|
||||
}
|
||||
else if (augment) {
|
||||
|
@ -70,10 +70,10 @@
|
|||
b.selection.currentIndex = row.value;
|
||||
}
|
||||
else {
|
||||
/* We want to deselect all the selected items except what was
|
||||
clicked, UNLESS it was a right-click. We have to do this
|
||||
in click rather than mousedown so that you can drag a
|
||||
selected group of items */
|
||||
/* We want to deselect all the selected items except what was
|
||||
clicked, UNLESS it was a right-click. We have to do this
|
||||
in click rather than mousedown so that you can drag a
|
||||
selected group of items */
|
||||
b.selection.select(row.value);
|
||||
}
|
||||
]]>
|
||||
|
|
Загрузка…
Ссылка в новой задаче