mirror of
https://github.com/brmlab/brmdoor.git
synced 2025-06-08 11:44:01 +02:00
Revert "allow change of alphasign even while streaming"
This reverts commit adaaad8084
.
This commit is contained in:
parent
adaaad8084
commit
6b9575013b
1 changed files with 5 additions and 3 deletions
|
@ -286,7 +286,7 @@ sub web_index {
|
|||
|
||||
my $astext = $alphasign->last_text_escaped();
|
||||
my $a_link = '';
|
||||
$a_link .= '<a href="alphasign">change</a>';
|
||||
$streaming or $a_link .= '<a href="alphasign">change</a>';
|
||||
|
||||
$response->content(<<EOT
|
||||
<html>
|
||||
|
@ -455,8 +455,10 @@ sub web_alphasign_set {
|
|||
my $text = $q->param('text');
|
||||
my $beep = $q->param('beep');
|
||||
|
||||
$poe_kernel->post($alphasign, 'text', $mode, $text);
|
||||
$beep and $poe_kernel->post($alphasign, 'beep');
|
||||
if (not $streaming) {
|
||||
$poe_kernel->post($alphasign, 'text', $mode, $text);
|
||||
$beep and $poe_kernel->post($alphasign, 'beep');
|
||||
}
|
||||
|
||||
$response->protocol("HTTP/1.1");
|
||||
$response->code(302);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue