summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-08-30 07:45:52 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-08-30 07:45:52 +0000
commit39902f39104e3ba33b7fc8c825e7b49136bb104d (patch)
treee31afefd76ab80aa46d6ba8263dcdba836c5c170
parent0cfe2b724df9173a25514b1617da50a23e8e6475 (diff)
Fix for deleting attachments in Futon.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690480 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--share/www/script/browse.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/www/script/browse.js b/share/www/script/browse.js
index 298b8cbf..e64fa777 100644
--- a/share/www/script/browse.js
+++ b/share/www/script/browse.js
@@ -843,6 +843,7 @@ function CouchDocumentPage() {
delete page.doc._attachments[name];
li.remove();
page.isDirty = true;
+ return false;
}).prependTo($("a", li));
}