From 3bbbbf14522cbd95f2a0f6610b8b6af5ebb6c778 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Mon, 26 May 2008 12:47:00 +0000 Subject: * Respond to DELETE requests with a "200 OK" status code instead of "202 Accepted", as the deletion is performed immediately. * The "content-type" member in attachment structures is now named "content_type" (underscore) for consistency and to be more accessible from Javascript (and presumably other languages, too) git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@660176 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/browse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www/script/browse.js') diff --git a/share/www/script/browse.js b/share/www/script/browse.js index 4491246b..ec514f09 100644 --- a/share/www/script/browse.js +++ b/share/www/script/browse.js @@ -791,7 +791,7 @@ function CouchDocumentPage() { .attr("href", db.uri + encodeURIComponent(docId) + "/" + encodeURIComponent(name)) .wrapInner("").appendTo(li); $("()").text("" + prettyPrintSize(attachment.length) + - ", " + attachment["content-type"]).addClass("info").appendTo(li); + ", " + attachment.content_type).addClass("info").appendTo(li); _initAttachmentItem(name, attachment, li); return li; } -- cgit v1.2.3