#390 에 따른 기타의견 삭제 확인 메세지 추가

This commit is contained in:
chicpro
2013-03-13 16:16:31 +09:00
parent 1ea2fdf5db
commit 2e5f299c3d
3 changed files with 15 additions and 1 deletions

View File

@ -60,7 +60,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
$list2[$i]['del'] = '';
if ($is_admin == 'super' || ($row['mb_id'] == $member['mb_id'] && $row['mb_id']))
$list2[$i]['del'] = '<a href="'.G4_BBS_URL.'/poll_etc_update.php?w=d&amp;pc_id='.$row['pc_id'].'&amp;po_id='.$po_id.'&amp;skin_dir='.$skin_dir.'">';
$list2[$i]['del'] = '<a href="'.G4_BBS_URL.'/poll_etc_update.php?w=d&amp;pc_id='.$row['pc_id'].'&amp;po_id='.$po_id.'&amp;skin_dir='.$skin_dir.'" class="poll_delete">';
}
// 기타의견 입력

View File

@ -98,6 +98,13 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</div>
<script>
$(function() {
$(".poll_delete").click(function() {
if(!confirm("해당 기타의견을 삭제하시겠습니까?"))
return false;
});
});
function fpollresult_submit(f)
{
<? if ($is_guest) { echo chk_captcha_js(); } ?>

View File

@ -101,6 +101,13 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</div>
<script>
$(function() {
$(".poll_delete").click(function() {
if(!confirm("해당 기타의견을 삭제하시겠습니까?"))
return false;
});
});
function fpollresult_submit(f)
{
<? if ($is_guest) { echo chk_captcha_js(); } ?>