From 4fe4f8cfa9c48bd5ad314375c5e56fa2fb6e87cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=91=E7=AB=99=E7=BD=91?= Date: Thu, 5 Jan 2023 02:07:09 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E5=B8=96?= =?UTF-8?q?=E5=AD=90=E5=9B=BE=E7=89=87=E9=87=8D=E5=A4=8D=E3=80=81=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8D=E6=98=BE=E7=A4=BA=E4=B8=94=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 科站网 --- upload/template/default/touch/forum/post.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/upload/template/default/touch/forum/post.htm b/upload/template/default/touch/forum/post.htm index fa54bb434..0e8126bdd 100644 --- a/upload/template/default/touch/forum/post.htm +++ b/upload/template/default/touch/forum/post.htm @@ -82,8 +82,8 @@ @@ -355,10 +355,10 @@ var obj = $(this); $.ajax({ type:'GET', - url:'forum.php?mod=ajax&action=deleteattach&inajax=yes&aids[]=' + obj.attr('aid') + (obj.attr('up') == 1 ? '&tid={$postinfo['tid']}&pid={$postinfo['pid']}' : ''), + url:'forum.php?mod=ajax&action=deleteattach&inajax=yes&aids[]=' + obj.attr('aid') + (obj.attr('up') == 1 ? '&tid={$postinfo['tid']}&pid={$postinfo['pid']}&formhash={FORMHASH}' : ''), }) .success(function(s) { - obj.parent().parent().remove(); + obj.parent().remove(); }) .error(function() { popup.open('{lang networkerror}', 'alert'); -- Gitee