зеркало из https://github.com/mozilla/pjs.git
Autocomplete fixes.
This commit is contained in:
Родитель
625284d770
Коммит
c73c616b85
|
@ -305,7 +305,6 @@
|
||||||
break;
|
break;
|
||||||
case KeyEvent.DOM_VK_DOWN:
|
case KeyEvent.DOM_VK_DOWN:
|
||||||
cancel = this.mController.handleKeyNavigation(IController.KEY_DOWN);
|
cancel = this.mController.handleKeyNavigation(IController.KEY_DOWN);
|
||||||
aEvent.preventBubble();
|
|
||||||
break;
|
break;
|
||||||
case KeyEvent.DOM_VK_LEFT:
|
case KeyEvent.DOM_VK_LEFT:
|
||||||
cancel = this.mController.handleKeyNavigation(IController.KEY_LEFT);
|
cancel = this.mController.handleKeyNavigation(IController.KEY_LEFT);
|
||||||
|
@ -419,6 +418,7 @@
|
||||||
onget="return this.tree.currentIndex;">
|
onget="return this.tree.currentIndex;">
|
||||||
<setter><![CDATA[
|
<setter><![CDATA[
|
||||||
this.tree.currentIndex = val;
|
this.tree.currentIndex = val;
|
||||||
|
if (this.tree.treeBoxObject.height > 0)
|
||||||
this.tree.treeBoxObject.ensureRowIsVisible(val < 0 ? 0 : val);
|
this.tree.treeBoxObject.ensureRowIsVisible(val < 0 ? 0 : val);
|
||||||
return val;
|
return val;
|
||||||
]]></setter>
|
]]></setter>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче