Clearer parameter name for autocomplete select handler

Refs #926
This commit is contained in:
Dan Stillman 2016-04-02 04:16:10 -04:00
parent eecd625298
commit 7a449e8deb

View file

@ -1521,7 +1521,7 @@
--> -->
<method name="handleCreatorAutoCompleteSelect"> <method name="handleCreatorAutoCompleteSelect">
<parameter name="textbox"/> <parameter name="textbox"/>
<parameter name="noAdvance"/> <parameter name="stayFocused"/>
<body> <body>
<![CDATA[ <![CDATA[
var comment = false; var comment = false;
@ -1549,8 +1549,7 @@
var [field, creatorIndex, creatorField] = var [field, creatorIndex, creatorField] =
textbox.getAttribute('fieldname').split('-'); textbox.getAttribute('fieldname').split('-');
// Stay focused if (stayFocused) {
if (noAdvance) {
this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')) - 1; this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')) - 1;
this._tabDirection = 1; this._tabDirection = 1;
} }