diff --git a/pandora_console/include/javascript/pandora_events.js b/pandora_console/include/javascript/pandora_events.js index 31b1e01028..1b01f1f501 100644 --- a/pandora_console/include/javascript/pandora_events.js +++ b/pandora_console/include/javascript/pandora_events.js @@ -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();