[FIX] web: fix unbound variable on many2many_tags widget

bzr revid: xal@openerp.com-20120704174308-pe326nrcj8depk28
This commit is contained in:
Xavier ALT
2012-07-04 19:43:08 +02:00
parent fa5ef483d5
commit 60ba31c757
+1 -1
View File
@@ -3419,7 +3419,7 @@ instance.web.form.FieldMany2ManyTags = instance.web.form.AbstractField.extend(in
$("textarea", this.$element).focusout(function() {
self.$text.trigger("setInputData", "");
}).keydown(function(e) {
if (event.keyCode === 9 && self._drop_shown) {
if (e.keyCode === 9 && self._drop_shown) {
self.$text.textext()[0].autocomplete().selectFromDropdown();
}
});