git-svn-id: http://xe-core.googlecode.com/svn/trunk@1088 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-10 11:06:37 +00:00
parent 486c9cc13d
commit b5c4ba8299
5 changed files with 23 additions and 8 deletions

View file

@ -14,8 +14,13 @@ function completeInsertPage(ret_obj) {
alert(message);
var url = location.href.setQuery('module_srl',module_srl).setQuery('act','dispPageAdminInfo');
if(page) url = url.setQuery('page',page);
var url = '';
if(location.href.getQuery('module')=='admin') {
url = location.href.setQuery('module_srl',module_srl).setQuery('act','dispPageAdminInfo');
if(page) url = url.setQuery('page',page);
} else {
url = location.href.setQuery('act','').setQuery('module_srl','');
}
location.href = url;
}