diff --git a/upload/template/default/touch/forum/post.htm b/upload/template/default/touch/forum/post.htm index fa54bb4342e28b8231dd729dbc1384ea79f1b285..0e8126bdd31d4443bb1541e5a2556c27cb8b572e 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');