]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Bug fix: delete thumbnail when ajax delete
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Wed, 12 Mar 2008 10:35:23 +0000 (10:35 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Wed, 12 Mar 2008 10:35:23 +0000 (10:35 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@70 b3834d28-1941-0410-a4f8-b48e95affb8f

jsScuttle.php

index fbe1e20195a145102744f5bee2168cd5fa2834d3..6765ffea892ea7ab8bf402284ab829e37895223a 100644 (file)
@@ -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
+}