diff --git a/public/vroom.pl b/public/vroom.pl index 4d09a01..5b257a0 100755 --- a/public/vroom.pl +++ b/public/vroom.pl @@ -594,6 +594,7 @@ post '/action' => sub { return $self->render( json => { msg => sprintf ($self->l("ERROR_ROOM_s_DOESNT_EXIST"), $room), + err => 'ERROR_ROOM_s_DOESNT_EXIST', status => 'error' }, ) unless ($data); diff --git a/templates/default/error.html.ep b/templates/default/error.html.ep index ab78f0b..9152809 100644 --- a/templates/default/error.html.ep +++ b/templates/default/error.html.ep @@ -3,7 +3,7 @@ %= include 'public_toolbar'
<%= $msg %>