reverted check to fix default autocompletion type
This commit is contained in:
parent
5ff98823ca
commit
77d63f2c5f
1 changed files with 1 additions and 2 deletions
|
@ -644,8 +644,7 @@ var customForm = {
|
|||
if ( this.templateDefinedAcTypes && !this.defaultAcType.length ) {
|
||||
this.defaultAcType = this.acTypes[acTypeKey];
|
||||
}
|
||||
var selectedTypeLength = selectedType.val().length;
|
||||
if ( selectedTypeLength !== 'undefined') {
|
||||
if ( selectedType.val().length ) {
|
||||
this.acTypes[acTypeKey] = selectedType.val();
|
||||
this.typeName = selectedType.html();
|
||||
if ( this.editMode == 'edit' ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue