Index: lams_central/web/includes/javascript/thickbox.js =================================================================== diff -u -rd28a91914e8858e0fbc045fc9313e3b50a309c45 -r6a53fbe99c99460db4c9035d381a2fbf4b7d2363 --- lams_central/web/includes/javascript/thickbox.js (.../thickbox.js) (revision d28a91914e8858e0fbc045fc9313e3b50a309c45) +++ lams_central/web/includes/javascript/thickbox.js (.../thickbox.js) (revision 6a53fbe99c99460db4c9035d381a2fbf4b7d2363) @@ -204,10 +204,11 @@ $("#TB_load").remove(); $("#TB_window").css({display:"block"}); }else if(url.indexOf('TB_iframe') != -1){ - if($.browser.safari){//safari needs help because it will not fire iframe onload - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - } + //*LAMS* commented out by LAMS to prevent exception on accessing $.browser which is null + //if($.browser.safari){//safari needs help because it will not fire iframe onload + // $("#TB_load").remove(); + // $("#TB_window").css({display:"block"}); + //} }else{ $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method $("#TB_load").remove(); @@ -219,7 +220,8 @@ } if(!params['modal']){ - document.onkeyup = function(e){ + + document.onkeyup = function(e){ if (e == null) { // ie keycode = event.keyCode; } else { // mozilla