             'click .action-button.search-button': 'search'
             'submit .input-container': 'search'
             'input input': 'adaptToQuery'
-            'focus input': 'expand'
 
         search: (e) ->
             e.stopPropagation()

                return
            @$searchEl.typeahead 'close'
            @executeQuery()

        expand: (e) ->
            @expandCallback()

        isEmpty: () ->
            query = @getInputText()

    class SearchInputView extends base.SMItemView
        classname: 'search-input-element'
        template: 'navigation-search'
        initialize: ({@model, @searchResults}) ->
            @listenTo @searchResults, 'ready', @adaptToQuery
        adaptToQuery: (model, value, opts) ->
            $container = @$el.find('.action-button')
