       when "update"
         jmount = listItem.getData().jmount
 
-        jmount.title     = f.title
+        # jmount.title     = f.title
         jmount.hostname  = f.hostname
         jmount.username  = f.username
         jmount.password  = f.password
-        jmount.port      = f.port
+        # jmount.port      = f.port
 
         jmount.update (err)=>
           if err

        item.on "change",(event,value)->
          # log value,s3Form,form
          switch value
            when "ftp","sftp","webdav"
              lines.hostname.show()
              lines.username.show()
              lines.password.show()
              lines.port.show()
              lines.accessKey.hide()
              lines.secret.hide()
            when "s3"
              lines.accessKey.show()
              lines.secret.show()
              lines.hostname.hide()
              lines.username.hide()
              lines.password.hide()
              lines.port.hide()

      lines = {}
      form = new KDFormView

      return {form,lines}


    # {form,lines} = createForm ["type","title","hostname","username","password","port","accessKey","secret"]
    {form,lines} = createForm ["type","hostname","username","password"]
    # lines.accessKey.hide()
    # lines.secret.hide()
    modal.addSubView form
    # modal.setHeight 450

