diff --git a/common/js/xml_js_filter.js b/common/js/xml_js_filter.js index 01b89fa29..181d9c91c 100644 --- a/common/js/xml_js_filter.js +++ b/common/js/xml_js_filter.js @@ -28,7 +28,7 @@ function filterAlertMessage(ret_obj) { if(typeof(act)!="undefined" && act) url = current_url.setQuery("act", act); else if(typeof(redirect_url)!="undefined" && redirect_url) url = redirect_url; - if(url == location.href) url = url.replace(/#(.+)$/,''); + if(url == location.href) url = url.replace(/#(.*)$/,''); location.href = url; } diff --git a/common/tpl/refresh.html b/common/tpl/refresh.html index 2f4983d1d..4ac78ff14 100644 --- a/common/tpl/refresh.html +++ b/common/tpl/refresh.html @@ -1,3 +1,3 @@