mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 15:46:16 +08:00
FIX: prevents multiple search call when destroying multiple tags
This commit is contained in:
parent
037cc63b91
commit
841e2ba723
|
@ -169,7 +169,7 @@ export default ComboBox.extend(Tags, {
|
|||
destroyTags(tags) {
|
||||
tags = Ember.makeArray(tags);
|
||||
this.get("tags").removeObjects(tags);
|
||||
this._prepareSearch(this.get("filter"));
|
||||
this.set("searchDebounce", run.debounce(this, this._prepareSearch, this.get("filter"), 350));
|
||||
},
|
||||
|
||||
didDeselect(tags) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user