Index: lams_central/web/includes/javascript/dialog.js =================================================================== diff -u -r4d710be17dc384e90d10a8a57c9fe2f7c77c88e2 -rdd8758e2e6d773e610086c90370c6e25e925de34 --- lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision 4d710be17dc384e90d10a8a57c9fe2f7c77c88e2) +++ lams_central/web/includes/javascript/dialog.js (.../dialog.js) (revision dd8758e2e6d773e610086c90370c6e25e925de34) @@ -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 +}