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