From 336c2f3ba5309228d61fb67dc3d202c58382aae3 Mon Sep 17 00:00:00 2001 From: chschy Date: Fri, 1 Feb 2013 06:32:59 +0000 Subject: [PATCH] sitemap doesn`t displayed in ie8 since a design of alert not supported that git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12660 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/admin/tpl/js/admin.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/admin/tpl/js/admin.js b/modules/admin/tpl/js/admin.js index 10a9678cf..99b5b7e00 100644 --- a/modules/admin/tpl/js/admin.js +++ b/modules/admin/tpl/js/admin.js @@ -2370,11 +2370,13 @@ jQuery(function($){ //----------------menu selector end jQuery(function($){ - _alert = alert; - alert = function(){ - return $.xeMsgBox.alert.apply($.xeMsgBox, arguments); - } - setTimeout(function(){$('div.message.info').fadeOut(1000);}, 2500); + //_alert = alert; + try { + alert = function(){ + return $.xeMsgBox.alert.apply($.xeMsgBox, arguments); + } + setTimeout(function(){$('div.message.info').fadeOut(1000);}, 2500); + }catch(e){} }); jQuery(function($){