You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wasn't sure where to ask this. I'm not really working on a plug-in so I didn't think the forums were the right place. Happy to post there instead if I need to.
I am working on a change to add support for per user chroot jails to Unraid's stock FTP powered by vsftpd (#953). I have the backend logic figured out. Now I am trying to update the web UI to make it easier to select the chroot jail for each user.
I am able to figure out most of it by looking through the existing code. I am stuck on two things:
In the UI, when you change a select drop down, the "Done" button changes to "Reset". Where is the event logic for that? I can't find it. I can find the logic that changes it back to "Done" but not to "Reset" from "Done".
How exactly does update.htm work? I can see that some updates are handled by asynchronous post calls to update.htm. But looking through that file I don't get how the back-end code is actually called? My back-end code just writes some string to a configuration file. I'd like to use update.htm to do that if possible but I can't figure it out.
The text was updated successfully, but these errors were encountered:
I'd be interested to know that as well, and was unable to figure it out. I did figure out update.php that writes a config file, but some pages are using update.htm instead.
I wasn't sure where to ask this. I'm not really working on a plug-in so I didn't think the forums were the right place. Happy to post there instead if I need to.
I am working on a change to add support for per user chroot jails to Unraid's stock FTP powered by vsftpd (#953). I have the backend logic figured out. Now I am trying to update the web UI to make it easier to select the chroot jail for each user.
I am able to figure out most of it by looking through the existing code. I am stuck on two things:
update.htm
work? I can see that some updates are handled by asynchronous post calls toupdate.htm
. But looking through that file I don't get how the back-end code is actually called? My back-end code just writes some string to a configuration file. I'd like to useupdate.htm
to do that if possible but I can't figure it out.The text was updated successfully, but these errors were encountered: