스패머 처리시 댓글이 휴지통으로 들어가지 않는 문제 수정

스패머 처리시 휴지통 이동을 기본값으로 함
This commit is contained in:
conory 2021-09-04 01:47:47 +09:00
parent c5138ab477
commit ca5eb517cf
2 changed files with 20 additions and 11 deletions

View file

@ -27,7 +27,7 @@
<textarea name="spam_description" id="spam_description" cols="400" rows="3"></textarea>
</div>
<div class="btn-proc" >
<label for="to_trash"><input type="checkbox" name="to_trash" value="Y" id="to_trash" />{$lang->spammer_move_to_trash}</label>
<label for="to_trash"><input type="checkbox" name="to_trash" value="Y" checked="checked" id="to_trash" />{$lang->spammer_move_to_trash}</label>
<button class="x_btn x_btn-danger" type="submit"/>{$lang->btn_spammer_delete_all}</button>
</div>
@ -57,7 +57,7 @@ function doSpammerManage( args ) {
// reset form
args.proc_type = "trash";
if( jQuery('#to_trash').attr( 'checked' ) != "checked" )
args.proc_type = "hidden";
args.proc_type = "delete";
args.cnt_loop =1;