Index: lams_central/web/includes/javascript/dialog.js =================================================================== diff -u -r5a239f3d826e4a7158f64c5a35b14ddc8215b845 -r3544d3ccd38f39c1d6eb7115c1b2ddd1a28b50ab --- lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision 5a239f3d826e4a7158f64c5a35b14ddc8215b845) +++ lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision 3544d3ccd38f39c1d6eb7115c1b2ddd1a28b50ab) @@ -286,6 +286,19 @@ } //disable scrolling of the parent's content dialog.parent().addClass("modal-open"); + + // in case of monitor dialog reload its content. It's required as all monitor dialogs use the same ids for their HTML elements + var isMonitorDialog = dialog.data('isMonitorDialog'); + if (isMonitorDialog) { + //hide iframe until it gets loaded + $('iframe', dialog).hide(); + $('iframe', dialog).load(function() { + $('iframe', dialog).show(); + }); + + //reload iframe + $('iframe', dialog)["0"].contentWindow.location.reload(); + } } /** @@ -417,4 +430,4 @@ } } }); -} \ No newline at end of file +}