diff --git a/xpfe/global/resources/content/outlinerBindings.xml b/xpfe/global/resources/content/outlinerBindings.xml index eae574e4989c..aba7c54ba95c 100644 --- a/xpfe/global/resources/content/outlinerBindings.xml +++ b/xpfe/global/resources/content/outlinerBindings.xml @@ -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); } ]]>