         isShowing: () ->
             @.jqo().is(":visible")
 
-        choose: (choose_field) ->
+        choose: () ->
             $li = @.jqo().find ".cur"
-            str = if _isNil($li) then @.holder.query.text+" " else $li.attr(choose_field) + " "
+            str = if _isNil($li) then @.holder.query.text+" " else $li.attr(@.choose_field) + " "
             @.holder.replaceStr(str)
             @.hide()
+
         rePosition: () ->
             rect = @.holder.rect()
             if rect.bottom + @.jqo().height() - $(window).scrollTop() > $(window).height()

                when 9, 13
                    return if not view.isShowing()
                    e.preventDefault()
                    choose_field = this.options[this.theflag]['choose'] || 'data-value'
                    view.choose(choose_field)
                else
                    $.noop()
            e.stopPropagation()


    AtView =
        timeout_id: null
        choose_field: null
        id: '#at-view'
        holder: null
        _jqo: null
