update undo icon link

This commit is contained in:
Oliver Gorwits
2013-09-20 22:33:32 +01:00
parent 49399301b9
commit 204f5627e0
3 changed files with 12 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ hook 'before' => sub {
my $cookie = cookie('nd_ports-form');
my $cdata = url_params_mixed($cookie);
if ($cdata and ref {} eq ref $cdata) {
if ($cdata and ref {} eq ref $cdata and not param('reset')) {
foreach my $item (@{ var('port_columns') }) {
my $key = $item->{name};
next unless defined $cdata->{$key}