Index: lams_central/web/includes/javascript/thickbox.patched.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/Attic/thickbox.patched.js,v diff -u -r1.2 -r1.3 --- lams_central/web/includes/javascript/thickbox.patched.js 6 Jul 2009 11:04:28 -0000 1.2 +++ lams_central/web/includes/javascript/thickbox.patched.js 6 Feb 2012 12:29:11 -0000 1.3 @@ -283,6 +283,12 @@ } document.onkeydown = ""; document.onkeyup = ""; + + // refresh parent window if certain attribute is set + if ($("#TB_window").attr("TB_refreshParentOnClose") == 'true'){ + parent.location.reload(1); + } + return false; }