FIX: unable to remove tags from topics in quick save
This commit is contained in:
parent
ff6b47b0cf
commit
0db13f62eb
|
@ -168,7 +168,12 @@ export default ComboBox.extend(Tags, {
|
|||
|
||||
destroyTags(tags) {
|
||||
tags = Ember.makeArray(tags);
|
||||
// work around usage with buffered proxy
|
||||
// it does not listen on array changes, similar hack already on select
|
||||
// TODO: FIX buffered-proxy.js to support arrays
|
||||
this.get("tags").removeObjects(tags);
|
||||
this.set("tags", this.get("tags").slice(0));
|
||||
|
||||
this.set("searchDebounce", run.debounce(this, this._prepareSearch, this.get("filter"), 350));
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue