     @itemList = new ItemFindList()
     @searchForm = new ItemSearchForm(@doSearch)
     @search = null
+
+    @_focusInSearch = false
+    @searchForm.searchInput.on("focus", () => @_focusInSearch = true)
+    @searchForm.searchInput.on("blur", () => @_focusInSearch = false)
 
   enter: ->
     super

      )(item_, index_)
    if items.length == 0
      @itemList.no_results()
    return

  onItemClick: (item) =>

  doSearch: (query, code, vendor, min_price, max_price, type, state, show_hidden) =>
    @search =
      query: query
      code: code.toUpperCase()
      vendor: vendor
      min_price: min_price
      max_price: max_price
