       iconOnly  : yes
       iconClass : "plus"
       callback  : ()=> list.showAddModal()
-        
+
     list.on "DeleteDatabaseSubmitted", (listItem)=> @deleteDatabase listItem
     list.on "UpdateDatabaseSubmitted", (listItem, formdata)=> @updateDatabase listItem, formdata
     list.on "AddDatabaseSubmitted", => @addDatabase()
 
     @on "DatabaseDeleted", (listItem)=> list.removeItem listItem
     @on "DatabaseUpdated", (listItem)=>
-    @on "DatabaseAdded", (itemData)=> 
+    @on "DatabaseAdded", (itemData)=>
       list.addItem itemData, null, {type : "slideDown", duration : 100}
       new KDModalView
         title   : "New Database Information"

  #   @propagateEvent KDEventType : "ListViewIsReady"

  showAddModal : ->
    
    modal = @modal = new KDModalViewWithForms
      title                   : "Add a Database"
      content                 : ""

      height    : "auto"
      tabs      :
        forms   : {}

    fields =
      # Type    :
      #   label       : "Type"
      #   name        : "type"
      #   defaultValue: "mysql"
      #   attributes  : {readonly  : yes}
      # Title :
      #   label       : "Friendly name"
      #   name        : "title"
