Fix delete on cancel button, tested and working, definitively closes #543
authorFlorian Fainelli <florian@openwrt.org>
Tue, 23 May 2006 11:40:31 +0000 (11:40 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 23 May 2006 11:40:31 +0000 (11:40 +0000)
SVN-Revision: 3819

openwrt/package/webif/files/www/cgi-bin/webif/firewall.sh

index e9228dcdb4eb271605c2310087f9506156a138e1..7ffef1578ba5fe399295180c9033192d0b556ebb 100755 (executable)
@@ -335,8 +335,8 @@ END {
        print "<tr><td class=\\"edit_title\\">@TR<<New Rule>>: </td><td colspan=\\"4\\">"
        print "<form method=\\"POST\\" action=\\"$SCRIPT_NAME\\" enctype=\\"multipart/form-data\\">"
        print hidden("edit", n + 1);
-       print "<select name=\\"new_target\\">"
        print hidden("delete_on_cancel", 1);
+       print "<select name=\\"new_target\\">"
        print sel_option("forward", "Forward")
        print sel_option("accept", "Accept")
        print sel_option("drop", "Drop")