Closed n3vu0r closed 4 years ago
Also your other code changes will go in this weekend, have not forgotten.
Thanks.
Just a reminder, preferably new changes go into master, as that is where the future of Gargoyle lies. If you would like the change backported to 1.12 as well, please let me know in the pull request and i'll organise it. It is easier for me to go backwards rather than forwards in these cases.
Good to know, thanks!
Update UCI after saving changes w/o redirect
In contrast to
basic.js
,access.js
misses to updateuciOriginal
after saving changes without redirect. Resetting data afterwards results in disabling allremote_accept
s (Remote Web Access and Remote SSH Access) because when saving changes, the old firewall sections are deleted fromuciOriginal
before it is cloned intouci
to which the new firewall sections are added. But in the end,uciOriginal
must be updated touci
to reflect all the changes including the new firewall sections.Found some other issues, more commits coming.