AJAX처리후 페이지 refresh 관련되어서 URL 끝에 # 이 있으면 refresh가 안되는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6261 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-05-04 05:15:52 +00:00
parent 173c1f5ec7
commit fd764005bd
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -1,3 +1,3 @@
<script type="text/javascript">
top.location.href = top.location.href;
top.location.reload();
</script>