Make it work with debug mode turned on.

This commit is contained in:
Colin Kuskie 2009-06-18 20:16:14 +00:00
parent 8f4e824004
commit fb6b201e77
2 changed files with 3 additions and 2 deletions

View file

@ -71,6 +71,7 @@ A message to be displayed in the status bar.
sub print {
my $self = shift;
my $message = shift; ##JS string escaping?
$self->session->log->preventDebugOutput;
$self->{_counter} += 1;
my $text = sprintf(<<EOJS, $self->{_counter}, $message);
<script>