bug 122036 - make space and ctrl+space work as expected. Not turned on yet.
git-svn-id: svn://10.0.0.236/trunk@114499 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2b95036759
commit
c309e98277
@ -594,9 +594,11 @@
|
||||
event.preventDefault();
|
||||
var c = this.currentIndex;
|
||||
var selection = this.outlinerBoxObject.selection;
|
||||
if (!selection.isSelected(c)) {
|
||||
if (event.ctrlKey || !selection.isSelected(c)) {
|
||||
selection.toggleSelect(c);
|
||||
this.selectElement.setOptionsSelectedByIndex(c, c, true, false, false, false);
|
||||
this.selectElement.setOptionsSelectedByIndex(c, c,
|
||||
selection.isSelected(c),
|
||||
false, false, false);
|
||||
if ("onchange" in this)
|
||||
this.onchange();
|
||||
}
|
||||
|
||||
@ -594,9 +594,11 @@
|
||||
event.preventDefault();
|
||||
var c = this.currentIndex;
|
||||
var selection = this.outlinerBoxObject.selection;
|
||||
if (!selection.isSelected(c)) {
|
||||
if (event.ctrlKey || !selection.isSelected(c)) {
|
||||
selection.toggleSelect(c);
|
||||
this.selectElement.setOptionsSelectedByIndex(c, c, true, false, false, false);
|
||||
this.selectElement.setOptionsSelectedByIndex(c, c,
|
||||
selection.isSelected(c),
|
||||
false, false, false);
|
||||
if ("onchange" in this)
|
||||
this.onchange();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user