]> ruin.nu Git - ndwebbie.git/blobdiff - include.pl
target list more ajax:ish
[ndwebbie.git] / include.pl
index a78acc9be229a5d335d6f0866efae0ebd91aeafe..c5a5acf39417f6d525837f284a0c837eea5a62f2 100644 (file)
@@ -80,7 +80,7 @@ ORDER BY r.tick+c.wave,x,y,z});
                my $coords = "Target $target->{id}";
                $coords = $target->{coords} if $target->{released_coords};
                push @targets,{Coords => $coords, Launched => $target->{launched}, Raid => $target->{raid}
-                       , Target => $target->{id}, Tick => $target->{landingtick}, Wave => $target->{wave}};
+                       , Target => $target->{id}, Tick => $target->{landingtick}, Wave => $target->{wave}, AJAX => $ND::AJAX};
        }
        my $template = HTML::Template->new(filename => "templates/targetlist.tmpl");
        $template->param(Targets => \@targets);