             @no_namespace = true
 
             @model.on 'change', @render_summary
-
             @namespace_list.on 'size_changed', @nl_size_changed
 
         nl_size_changed: =>


        register_namespace_callback: (callbacks) =>
            @callbacks = callbacks
            @namespace_list.register_namespace_callbacks callbacks

        rename_datacenter: (event) ->
            event.preventDefault()
            rename_modal = new UIComponents.RenameItemModal @model.get('id'), 'datacenter'
            rename_modal.render()

        ###
        destroy: ->
            #TODO
        ###

    # Show a list of namespaces
    class @NamespaceList extends UIComponents.AbstractList

            return json

        render: =>
            super

            return @

        destroy: =>
            super


    class @AddDatabaseModal extends UIComponents.AbstractModal
