Edit file Save does not work
built on Thu Oct 01 19:28:03 CDT 2015
I am trying to edit /cf/conf/config.xml to work around some other things.
I can browse folders /cf into /cf/conf and load config.xml no problem.
I make changes and press Save. But there is no apparent action, no feedback.
If I Load again, the old contents are displayed.
I tried editing a file in /usr/local/www also, same problem that Save does not do anything.
This would be handy to have working for debugging and quick fixes.
#5 Updated by Phillip Davis over 4 years ago
The "File saved successfully" message has no "x" to remove it. Other success messages (e.g. after editing and alias and apply changes) have an "x" at the right-hand side.
It is convenient to be able to dismiss a success message. Then if you make another edit and press save it is clear that a new "success" message gets displayed.
For some reason edit.php has different more direct code that makes these messages, compared to firewall_aliases.php, which calls print_info_box(). I tried quickly putting print_info_box() into edit.php - but it seems there is more infrastructure needed in edit.php to make that work?