                     trigger: 'hover'
                     placement: 'bottom'
                 @$('.tab-content').html @view_object?.$el
+                @$(".link_to_#{@view}_view").parent().addClass 'active'
             return @
 
         new_view: () =>

        set_view: (view) =>
            @view = view
            @container.state.view = view
            @$(".link_to_#{@view}_view").addClass 'active'
            @$(".link_to_#{@view}_view").parent().addClass 'active'
            if @query_result?.ready
                @new_view()


# container limit -> global constant

# history load/remove buttons display is broken
# compare look to old version, make sure nothing changed
# test wrapper_scrollbar

# Copyright 2010-2012 RethinkDB, all rights reserved.
module 'DataExplorerView', ->
