           alert "Cannot get details of item on #{this.sourceURL} (#{status}): #{error}"
       this
       
-
     _select: (id, label, trigger = false) ->
       this.lastSearch = label
       len = 10 * Math.round(Math.round(1.5 * label.length) / 10)

      false
      
    _menuClick: (event) ->
      this._choose $(event.target)
      false

    _menuMouseEnter: (event) ->

          alert "Don't known how to manage this option"
      else
        console.log "No selected item to choose..."
      this    
      
    _keypress: (event) ->
      code = (event.keyCode or event.which)
