Commented out customForm.acSelector.focus(), which was clearing ac help text

This commit is contained in:
tlw72 2010-09-21 14:04:01 +00:00
parent e76b9647e6
commit 2684dcd035

View file

@ -183,7 +183,8 @@ var customForm = {
}
else {
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;
if (!this.acSelector.val()) {
typeText = getTypeNameForLabels();
typeText = this.getTypeNameForLabels();
this.acSelector.val("Select an existing " + typeText + " or create a new one.")
.addClass(this.acHelpTextClass);
}