diff --git a/productMods/edit/forms/js/customFormWithAutocomplete.js b/productMods/edit/forms/js/customFormWithAutocomplete.js index cbd89ff3..3bcd5661 100644 --- a/productMods/edit/forms/js/customFormWithAutocomplete.js +++ b/productMods/edit/forms/js/customFormWithAutocomplete.js @@ -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); }