mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
FIX: Show overriden checkbox not triggering search on check.
This commit is contained in:
@ -45,9 +45,9 @@ export default Ember.Controller.extend({
|
||||
this.transitionToRoute('adminSiteText.edit', siteText.get('id'));
|
||||
},
|
||||
|
||||
search() {
|
||||
search(overridden) {
|
||||
const q = this.get('q');
|
||||
if (q !== lastSearch) {
|
||||
if (q !== lastSearch || overridden) {
|
||||
this.set('searching', true);
|
||||
Ember.run.debounce(this, this._performSearch, 400);
|
||||
lastSearch = q;
|
||||
|
Reference in New Issue
Block a user