Merge branch 'ent-4648-no-funciona-refresh-de-las-consolas-visuales-publicas' into 'develop'

Fixed refresh

See merge request artica/pandorafms!2729
This commit is contained in:
Alejandro Fraguas 2019-09-16 10:30:32 +02:00
commit 18abd5e3d6
1 changed files with 2 additions and 1 deletions

View File

@ -115,6 +115,7 @@ echo '</li>';
// Countdown.
echo '<li class="nomn">';
echo '<div class="vc-refr">';
echo '<div class="vc-countdown style="display: inline;"></div>';
echo '<div id="vc-refr-form">';
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);
});