From: mensonge Date: Wed, 12 Mar 2008 10:35:23 +0000 (+0000) Subject: Bug fix: delete thumbnail when ajax delete X-Git-Tag: v0.90~90 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0bc299ae6cf0139241bd25cef48a1849a1e8e03f;p=semanticscuttle.git Bug fix: delete thumbnail when ajax delete git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@70 b3834d28-1941-0410-a4f8-b48e95affb8f --- 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 +}