mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-25 10:59:15 +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,
|
resizable: true,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
modal: true,
|
modal: true,
|
||||||
|
close: function() {
|
||||||
|
$("#refrcounter").countdown("resume");
|
||||||
|
},
|
||||||
overlay: {
|
overlay: {
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
background: "black"
|
background: "black"
|
||||||
@ -53,6 +56,8 @@ function show_event_dialog(event_id, group_rep, dialog_page, result) {
|
|||||||
})
|
})
|
||||||
.show ();
|
.show ();
|
||||||
|
|
||||||
|
$("#refrcounter").countdown("pause");
|
||||||
|
|
||||||
switch (result) {
|
switch (result) {
|
||||||
case 'comment_ok':
|
case 'comment_ok':
|
||||||
$('#notification_comment_success').show();
|
$('#notification_comment_success').show();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user