주문서 삭제 button 에서 a 로 변경
This commit is contained in:
@ -777,7 +777,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</div>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<button type="button" onclick="del('./orderdelete.php?od_id=<?=$od['od_id']?>&uq_id=<?=$od['uq_id']?>&amo;mb_id=<?=$od['mb_id']?>&<?=$qstr?>');">주문서 삭제</button>
|
||||
<a href="./orderdelete.php?od_id=<?=$od['od_id']?>&uq_id=<?=$od['uq_id']?>&amo;mb_id=<?=$od['mb_id']?>&<?=$qstr?>" onclick="return del_confirm();">주문서 삭제</a>
|
||||
<a href="./orderlist.php?<?=$qstr?>">목록</a>
|
||||
</div>
|
||||
|
||||
@ -825,6 +825,15 @@ function form_submit(f)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function del_confirm()
|
||||
{
|
||||
if(confirm("주문서를 삭제하시겠습니까?")) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
|
||||
Reference in New Issue
Block a user