Fixing taxonomies autocomplete script error.

This commit is contained in:
Sipke Schoorstra
2013-11-01 13:36:38 +01:00
parent 3e20412ef0
commit 89aa73d571

View File

@@ -121,7 +121,7 @@
};
this.options.focus = function (event, ui) {
if (ui.item.label !== undefined && /^key/.test(event.originalEvent.originalEvent.type)) {
if (ui.item.label !== undefined && /^key/.test(event.originalEvent.type)) {
self.input.val(ui.item.label);
self.input.attr('tagValue', ui.item.value);
return false;