From ffe24d5b8f1892426574367c777109d899a0e9ff Mon Sep 17 00:00:00 2001 From: Cesar G Date: Sun, 14 Sep 2014 10:39:53 -0700 Subject: [PATCH] [ticket/13019] Do not hide reason field when deleting permanently. PHPBB3-13019 --- phpBB/styles/prosilver/template/ajax.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index 13e8d02469..168efff4b4 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -353,14 +353,6 @@ $('.display_post').click(function(e) { $('#post_hidden' + postId).hide(); }); -$('#delete_permanent').click(function () { - if ($(this).prop('checked')) { - $('#delete_reason').hide(); - } else { - $('#delete_reason').show(); - } -}); - /** * Toggle the member search panel in memberlist.php. *