fix autocomplete

This commit is contained in:
yuri
2017-02-07 10:48:45 +02:00
parent d7dfe5fea4
commit 31a8fa387d
2 changed files with 15 additions and 0 deletions
@@ -157,6 +157,14 @@ Espo.define('views/email/fields/email-address-varchar', ['views/fields/varchar',
this.$input.val('');
}.bind(this)
});
this.once('render', function () {
this.$input.autocomplete('dispose');
}, this);
this.once('remove', function () {
this.$input.autocomplete('dispose');
}, this);
}
},
@@ -68,6 +68,13 @@ Espo.define('views/email/fields/email-address', ['views/fields/base'], function
this.$input.val(s.emailAddress);
}.bind(this)
});
this.once('render', function () {
this.$input.autocomplete('dispose');
}, this);
this.once('remove', function () {
this.$input.autocomplete('dispose');
}, this);
}
},