FIX: Search does not retrigger when context has changed.

https://meta.discourse.org/t/using-the-search-this-topic-check-box-blocks-search-on-other-pages/56832/6?u=tgxworld
This commit is contained in:
Guo Xiang Tan 2018-08-08 17:47:31 +08:00
parent d3a9596d08
commit 94622b451a
1 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,8 @@ export default createWidget("search-menu", {
this.triggerSearch();
}
searchData.contextEnabled = attrs.contextEnabled;
return this.attach("menu-panel", {
maxWidth: 500,
contents: () => this.panelContents()