                     @resize
                         size: 32
 
-        open_close_history: (event, container) =>
-            event?.preventDefault()
+        open_close_history: (args) =>
             that = @
             if @state is 'visible'
                 @state = 'hidden'

                    metadata: null
                    cursor_timed_out: true
                    view: 'tree'

            # Load history, keep it in memory for the session
            if not DataExplorerView.Container.prototype.history?

            @results_view.expand_raw_textarea()

            @draft = @codemirror.getValue()

            if @saved_data.history_state is 'visible' # If the history was visible, we show it
                @open_close_history event,
                    no_animation: true

        on_blur: =>
            @prototype.focus_on_codemirror = false
