Bug #5159
closed
Added by Anonymous about 9 years ago.
Updated over 8 years ago.
Description
The Javascript functions hideInput, disableInput, hideClass, addRow, delRow et al have been replicated across dozens of PHP files and need to be extracted to a common include file.
- Tracker changed from Bug to Todo
Include file javascript/pfSenseHelpers.js created and populated with common hide/show/disable/enable functions
Include file added to foot.inc
Affected files:
src/usr/local/www/diag_backup.php
src/usr/local/www/diag_logs_settings.php
src/usr/local/www/firewall_nat_edit.php
src/usr/local/www/firewall_nat_out_edit.php
src/usr/local/www/firewall_rules_edit.php
src/usr/local/www/interfaces.php
src/usr/local/www/interfaces_ppps_edit.php
src/usr/local/www/services_captiveportal.php
src/usr/local/www/services_dhcp.php
src/usr/local/www/services_dhcp_edit.php
src/usr/local/www/services_dhcpv6.php
src/usr/local/www/services_dyndns_edit.php
src/usr/local/www/services_ntpd.php
src/usr/local/www/services_ntpd_gps.php
src/usr/local/www/services_unbound.php
src/usr/local/www/system_advanced_admin.php
src/usr/local/www/system_usermanager.php
src/usr/local/www/vpn_ipsec_phase1.php
src/usr/local/www/vpn_ipsec_phase2.php
src/usr/local/www/vpn_openvpn_client.php
src/usr/local/www/vpn_openvpn_csc.php
src/usr/local/www/vpn_openvpn_server.php
First phase completed. (hide/show etc)
Now needs row helper functions treated similarly
Rowhelper pages to be updated:
usr/local/www/firewall_aliases_edit.php
usr/local/www/pkg_edit.php
usr/local/www/services_dhcp.php
usr/local/www/services_ntpd.php
usr/local/www/services_router_advertisements.php
usr/local/www/services_unbound_acls.php
usr/local/www/system_certmanager.php
usr/local/www/vpn_pppoe_edit.php
- Tracker changed from Todo to Bug
- Status changed from Confirmed to Closed
- Affected Version set to 2.3
Also available in: Atom
PDF