Migrate search drop down to menu-panel component.

This commit is contained in:
Robin Ward
2015-08-26 16:55:01 -04:00
parent 3bc79f6885
commit d4b987ff32
26 changed files with 442 additions and 422 deletions

View File

@ -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' });