mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
Migrate search drop down to menu-panel
component.
This commit is contained in:
@ -99,13 +99,6 @@ const ApplicationRoute = Discourse.Route.extend(OpenComposer, {
|
||||
showModal('keyboard-shortcuts-help', { title: 'keyboard_shortcuts_help.title'});
|
||||
},
|
||||
|
||||
showSearchHelp() {
|
||||
// TODO: @EvitTrout how do we get a loading indicator here?
|
||||
Discourse.ajax("/static/search_help.html", { dataType: 'html' }).then(function(model){
|
||||
showModal('searchHelp', { model });
|
||||
});
|
||||
},
|
||||
|
||||
// Close the current modal, and destroy its state.
|
||||
closeModal() {
|
||||
this.render('hide-modal', { into: 'modal', outlet: 'modalBody' });
|
||||
|
Reference in New Issue
Block a user