Project

General

Profile

« Previous | Next » 

Revision 17cc6627

Added by Vinícius Coque almost 15 years ago

Fix enable_change() broken on last gettext() implementation

View differences:

usr/local/www/firewall_virtual_ip_edit.php
248 248
}
249 249
function enable_change(enable_over) {
250 250
		var note = document.getElementById("typenote");
251
		var carpnote = document.createTextNode('<?=gettext("This must be the network's subnet mask. It does not specify a CIDR range.");?>');
252
		var proxyarpnote = document.createTextNode('<?=gettext("This is a CIDR block of proxy ARP addresses.");?>');
253
		var ipaliasnote = document.createTextNode('<?=gettext("This must be the network's subnet mask. It does not specify a CIDR range.");?>');
251
		var carpnote = document.createTextNode("<?=gettext("This must be the network's subnet mask. It does not specify a CIDR range.");?>");
252
		var proxyarpnote = document.createTextNode("<?=gettext("This is a CIDR block of proxy ARP addresses.");?>");
253
		var ipaliasnote = document.createTextNode("<?=gettext("This must be the network's subnet mask. It does not specify a CIDR range.");?>");
254 254
        if ((get_radio_value(document.iform.mode) == "carp") || enable_over) {
255 255
                document.iform.vhid.disabled = 0;
256 256
                document.iform.password.disabled = 0;

Also available in: Unified diff