From 0bc299ae6cf0139241bd25cef48a1849a1e8e03f Mon Sep 17 00:00:00 2001 From: mensonge Date: Wed, 12 Mar 2008 10:35:23 +0000 Subject: Bug fix: delete thumbnail when ajax delete git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@70 b3834d28-1941-0410-a4f8-b48e95affb8f --- jsScuttle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jsScuttle.php') diff --git a/jsScuttle.php b/jsScuttle.php index fbe1e20..6765ffe 100644 --- a/jsScuttle.php +++ b/jsScuttle.php @@ -33,7 +33,7 @@ function deleteCancelled(ele) { function deleteConfirmed(ele, input, response) { if (deleted == false) { - deleted = ele.parentNode.parentNode.parentNode; + deleted = ele.parentNode.parentNode.parentNode.parentNode; } var post = deleted; post.className = 'xfolkentry deleted'; @@ -138,4 +138,4 @@ function playerLoad() { _playerAdd(anchors[i]); } } -} \ No newline at end of file +} -- cgit v1.2.3