             Load older log entries
         </Button>
 
+    focus_search_box: ->
+        input = @refs.search.refs.box.refs.input
+        ReactDOM.findDOMNode(input).focus()
+
     render_log_panel: ->
         # get visible log
         log = @visible_log()


    render: ->
        <SearchInput
            autoFocus   = {true}
            autoSelect  = {true}
            placeholder = 'Search log...'

            cursor = undefined
            selected = undefined

        <Panel onClick={@focus_search_box}>
            <Row>
                <Col sm={4}>
                    <LogSearch
                        ref              = {"search"}
                        actions          = {@actions(name)}
                        search           = {@props.search}
                        selected         = {selected}
