Index: lams_central/web/includes/javascript/groupDisplay.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/groupDisplay.js,v diff -u -r1.9 -r1.10 --- lams_central/web/includes/javascript/groupDisplay.js 2 Jul 2009 08:19:14 -0000 1.9 +++ lams_central/web/includes/javascript/groupDisplay.js 9 Jul 2009 08:47:32 -0000 1.10 @@ -74,6 +74,10 @@ success: function(html) { jQuery(courseBg).append(html); registerToolTip(this); + // unregister and re-register thickbox for this group in order to avoid double + // registration of thickbox for existing elements (i.e. group 'add lesson' link) + $('a.thickbox'+jQuery(courseBg).attr("id")).unbind("click"); + tb_init('a.thickbox'+jQuery(courseBg).attr("id")); } }); }