Small interface bug in WEB-FTP section

Hi!

On page /add/web/ (or /edit/web/) in section “Additional FTP account(s)” when deleting all FTP it is impossible to add new FTP (button “Add FTP account” stops working).

To make it work it’s necessary to reload the page.

This behavior is due to the fact that the JS function “add_ftp_user_form” tries to do “$(‘#templates’).find(‘.ftptable’).clone(true)”, but all blocks with the ftptable class are removed.

Please use Github to create a issue…

Ok. https://github.com/hestiacp/hestiacp/issues/2145

Thanks