           @_addButtonMenu.destroy()
           @showAddCredentialFormFor vendor
 
-    view.addSubView addButton = new KDButtonView
+    view.parent.addSubView addButton = new KDButtonView
       style     : "solid green small account-header-button"
       iconClass : "plus"
       iconOnly  : yes

          Save.hideLoader()

          unless KD.showError err
            @loadItems()  unless err?
            view.form.destroy()

    view.addSubView view.form

class AccountCredentialList extends KDListView



    super

    view = @getView()
    view.on "ShowShareCredentialFormFor", @bound "showShareCredentialFormFor"

    vendorList = { }

    Object.keys(Vendors).forEach (vendor)=>
