Index: lams_central/web/includes/javascript/thickbox.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/thickbox.js,v diff -u -r1.1.2.4 -r1.1.2.5 --- lams_central/web/includes/javascript/thickbox.js 11 Nov 2016 15:52:12 -0000 1.1.2.4 +++ lams_central/web/includes/javascript/thickbox.js 25 Feb 2017 18:22:19 -0000 1.1.2.5 @@ -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