From a4a84c154f04c49283499880cc4d27cd1ce60e9f Mon Sep 17 00:00:00 2001 From: Daniel Maya Date: Fri, 13 Sep 2019 12:04:30 +0200 Subject: [PATCH] Fixed refresh --- .../operation/visual_console/legacy_public_view.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/operation/visual_console/legacy_public_view.php b/pandora_console/operation/visual_console/legacy_public_view.php index 7bea2a22c9..ab6def4f70 100644 --- a/pandora_console/operation/visual_console/legacy_public_view.php +++ b/pandora_console/operation/visual_console/legacy_public_view.php @@ -115,6 +115,7 @@ echo ''; // Countdown. echo '
  • '; echo '
    '; +echo '
    '; echo '
    '; echo __('Refresh').':'; echo html_print_select( @@ -187,7 +188,7 @@ $ignored_params['refr'] = ''; var controls = document.getElementById('vc-controls'); autoHideElement(controls, 1000); - $('select#refr').change(function (event) { + $('#vc-controls').change(function (event) { refr = Number.parseInt(event.target.value, 10); startCountDown(refr, false); });