 
     @getListView().on "UpdatedItems", =>
       newKeys = @getItemsOrdered().map (item)-> item.getData()
+      if newKeys.length is 0
+        @addCustomItem "You have no SSH keys."
       KD.remote.api.JUser.setSSHKeys newKeys, ->
         console.log "Saved keys."
 

    @showLazyLoader no

    KD.remote.api.JUser.getSSHKeys (keys)=>
      @instantiateListItems keys
      @hideLazyLoader()

  loadView:->

      callback  : =>
        @addItem {key: '', title: ''}, 0
        @getListView().items.first.swapSwappable()

  addCustomItem:(message)->
    @removeAllItems()
    @customItem?.destroy()
    @scrollView.addSubView @customItem = new KDCustomHTMLView
      cssClass : "no-item-found"
      partial  : message

class AccountSshKeyList extends KDListView
  constructor:(options,data)->
