firewall: fix rules edit cancel menu behaviour #1928

This commit is contained in:
Franco Fichtner 2017-11-21 05:24:01 +00:00
parent 94713036f2
commit db785c954f

View File

@ -1521,9 +1521,8 @@ include("head.inc");
<tr>
<td>&nbsp;</td>
<td>
&nbsp;<br />&nbsp;
<input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save"); ?>" />
<input type="button" class="btn btn-default" value="<?=gettext("Cancel");?>" onclick="window.location.href='/firewall_rules.php'" />
<input type="button" class="btn btn-default" value="<?=gettext("Cancel");?>" onclick="window.location.href='/firewall_rules.php?if=<?= !empty($pconfig['floating']) ? 'FloatingRules' : $pconfig['interface'] ?>'" />
</td>
</tr>
</table>