Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Interface does not show/hide block to add additional FTP accounts on websites #2021

Closed
jcerdan opened this issue Jul 28, 2021 · 1 comment
Labels
bug Something isn't working interface Issues related to the interface and backend admin

Comments

@jcerdan
Copy link

jcerdan commented Jul 28, 2021

Describe the bug
When clicking checkbox "Additional FTP Accounts" the box below is not shown.

To Reproduce
What steps did you take when the issue occured?

  1. try to add an additional FTP account

Expected behavior
Box should below should be opened

Operating system:
Ubuntu 20.04 LTS, but the problem is in Javascript interface

Hestia Control Panel version:
1.4.9

Additional context
The solution is to to the same as in "Document root"

<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ftp" onclick="javascript:elementHideShow('v_add_domain_ftp');">Additional FTP account(s)</label>

and below

<table id="v_add_domain_ftp" class="ftptable ftptable-nrm" ... >

onClick function should be modified and id should be added to table tag

@jaapmarcus
Copy link
Member

Replace line 180 in /web/js/pages/edit_web.js with
.attr('checked') with prop('checked')

The bug is probably caused by the replacement of the newer jQuery library and jQuery-UI library

@jaapmarcus jaapmarcus added bug Something isn't working interface Issues related to the interface and backend admin labels Jul 28, 2021
jaapmarcus added a commit to jaapmarcus/hestiacp that referenced this issue Jul 28, 2021
+ Add link to show certifcate if LE is enabled
jaapmarcus added a commit that referenced this issue Jul 31, 2021
Fix #2021 Checkbox of Additional FTP accounts didn't work
+ Fixed overlay UI issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working interface Issues related to the interface and backend admin
Projects
None yet
Development

No branches or pull requests

2 participants