fixes #1772
This commit is contained in:
@@ -42,10 +42,7 @@
|
|||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
select: function(event, ui) {
|
select: function(event, ui) {
|
||||||
var terms = this.value.match(/\S+/g);
|
this.value = this.value.replace(/\S+\s*$/g, ui.item.value + " ");
|
||||||
terms.pop();
|
|
||||||
terms.push(ui.item.value);
|
|
||||||
this.value = terms.join(" ") + " ";
|
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
source: function(req, resp) {
|
source: function(req, resp) {
|
||||||
|
|||||||
Reference in New Issue
Block a user