|
|
原版的是新打开页面,采用返回原地址,新版的使用当前地址导致找不到 返回地址,页面一直暂停。
修改
add 和 edit
- if(isset($_POST['dosubmit'])) {
- //showmessage(L('add_success').L('2s_close'),'blank','','','function set_time() {$("#secondid").html(1);}setTimeout("set_time()", 500);setTimeout("window.close()", 1200);');
- showmessage(L('update_success'),'index.php?m=content&c=content&a=init&menuid=0&catid='.$catid.'&pc_hash='.$_SESSION['pc_hash']);
- } else {
- //showmessage(L('add_success'),HTTP_REFERER);
- showmessage(L('update_success'),'index.php?m=content&c=content&a=add&menuid=0&catid='.$catid.'&hash_page=&pc_hash='.$_SESSION['pc_hash']);
- }
复制代码
|
|