Make it work with debug mode turned on.
This commit is contained in:
parent
8f4e824004
commit
fb6b201e77
2 changed files with 3 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue