mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added autorefresh control when event dialog is open
(cherry picked from commit 7c2301fde614b147aa948775f7472c60de32bcc8)
This commit is contained in:
parent
0ea1ee1eb2
commit
0f01088bb5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user