Commented out customForm.acSelector.focus(), which was clearing ac help text
This commit is contained in:
parent
e76b9647e6
commit
2684dcd035
1 changed files with 3 additions and 2 deletions
|
@ -183,7 +183,8 @@ var customForm = {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
customForm.initFormFullView();
|
customForm.initFormFullView();
|
||||||
customForm.acSelector.focus();
|
// TW Setting focus here was clearing autocomplete help text, so commented it out
|
||||||
|
// customForm.acSelector.focus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -465,7 +466,7 @@ var customForm = {
|
||||||
var typeText;
|
var typeText;
|
||||||
|
|
||||||
if (!this.acSelector.val()) {
|
if (!this.acSelector.val()) {
|
||||||
typeText = getTypeNameForLabels();
|
typeText = this.getTypeNameForLabels();
|
||||||
this.acSelector.val("Select an existing " + typeText + " or create a new one.")
|
this.acSelector.val("Select an existing " + typeText + " or create a new one.")
|
||||||
.addClass(this.acHelpTextClass);
|
.addClass(this.acHelpTextClass);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue