summaryrefslogtreecommitdiff
path: root/jsScuttle.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-12 10:35:23 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-03-12 10:35:23 +0000
commit0bc299ae6cf0139241bd25cef48a1849a1e8e03f (patch)
tree52fd3de3e27cb718cf1f864f041af6776776796e /jsScuttle.php
parent5cb2d8978c856b869545a2a5fbc083618d78fcb7 (diff)
downloadsemanticscuttle-0bc299ae6cf0139241bd25cef48a1849a1e8e03f.tar.gz
semanticscuttle-0bc299ae6cf0139241bd25cef48a1849a1e8e03f.tar.bz2
Bug fix: delete thumbnail when ajax delete
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@70 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'jsScuttle.php')
-rw-r--r--jsScuttle.php4
1 files changed, 2 insertions, 2 deletions
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
+}