         @scrollView.addSubView @_timeout = new KDCustomHTMLView
           cssClass : "lazy-loader"
           partial  : "Fetching database list failed. <a href='#'>Retry</a>"
-          click    : (ins, event)=>
+          click    : (event)=>
             if $(event.target).is "a"
               @loadItems()
               @_timeout.destroy()

    # log "Run on kite:", options.method
    @getSingleton("kiteController").run
      kiteName  : "databases"
      method      : options.method
      withArgs  : options.withArgs
    , (err, response)=>
      if err then warn err


  loadItems:(callback)->

    @removeAllItems()
    dbTypes = ['mysql', 'mongo']
    @_loaderCount = dbTypes.length
    @_timeout?.destroy?()
    @showLazyLoader no

    hideLoaderWhenFinished = =>
