Removed old code that breaks the autorefresh pause

This commit is contained in:
Arturo Gonzalez 2017-05-31 16:40:10 +02:00
parent bad1a72c69
commit 4ba94f065e
2 changed files with 6 additions and 4 deletions

View File

@ -1300,8 +1300,8 @@ function ui_process_page_head ($string, $bitfield) {
$_GET['sec2'] == 'enterprise/dashboard/main_dashboard') {
$query = ui_get_url_refresh (false, false);
$output .= '<meta http-equiv="refresh" content="' .
$config_refr . '; URL=' . $query . '" />';
//$output .= '<meta http-equiv="refresh" content="' .
//$config_refr . '; URL=' . $query . '" />';
}
}

View File

@ -46,6 +46,7 @@ function show_event_dialog(event_id, group_rep, dialog_page, result) {
modal: true,
close: function() {
$("#refrcounter").countdown("resume");
$('div.vc-countdown').countdown('resume');
},
overlay: {
opacity: 0.5,
@ -55,8 +56,9 @@ function show_event_dialog(event_id, group_rep, dialog_page, result) {
height: 530
})
.show ();
$("#refrcounter").countdown("pause");
$("#refrcounter").countdown('pause');
$('div.vc-countdown').countdown('pause');
switch (result) {
case 'comment_ok':