경고창에서 history.back 추가
This commit is contained in:
@ -42,7 +42,12 @@ if($error) {
|
|||||||
<script>
|
<script>
|
||||||
alert("<? echo strip_tags($msg); ?>");
|
alert("<? echo strip_tags($msg); ?>");
|
||||||
//document.location.href = "<? echo $url; ?>";
|
//document.location.href = "<? echo $url; ?>";
|
||||||
|
<? if ($url) { ?>
|
||||||
document.location.replace("<? echo $url; ?>");
|
document.location.replace("<? echo $url; ?>");
|
||||||
|
<? } else { ?>
|
||||||
|
alert('history.back();');
|
||||||
|
history.back();
|
||||||
|
<?}?>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|||||||
Reference in New Issue
Block a user