 
   # Public: Focus the fuzzy filter editor.
   focusEditor: ->
-    @editorView.focus()
+    @filterEditorView.focus()
 
   storeFocusedElement: ->
     @previouslyFocusedElement = $(':focus')

  #
  # Returns a {String} to use when fuzzy filtering the elements to display.
  getFilterQuery: ->
    @editorView.getEditor().getText()

  # Public: Populate the list view with the model items previously set by
  # calling {.setItems}.

class SelectListView extends View
  @content: ->
    @div class: 'select-list', =>
      @subview 'filterEditorView', new filterEditorView(mini: true)
      @div class: 'error-message', outlet: 'error'
      @div class: 'loading', outlet: 'loadingArea', =>
        @span class: 'loading-message', outlet: 'loading'
