Added autorefresh control when event dialog is open

(cherry picked from commit 7c2301fde614b147aa948775f7472c60de32bcc8)
This commit is contained in:
Arturo Gonzalez 2016-09-12 14:40:05 +02:00
parent 0ea1ee1eb2
commit 0f01088bb5

View File

@ -44,6 +44,9 @@ function show_event_dialog(event_id, group_rep, dialog_page, result) {
resizable: true,
draggable: true,
modal: true,
close: function() {
$("#refrcounter").countdown("resume");
},
overlay: {
opacity: 0.5,
background: "black"
@ -53,6 +56,8 @@ function show_event_dialog(event_id, group_rep, dialog_page, result) {
})
.show ();
$("#refrcounter").countdown("pause");
switch (result) {
case 'comment_ok':
$('#notification_comment_success').show();