Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 4519 invoked from network); 15 Jun 2010 14:00:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jun 2010 14:00:53 -0000 Received: (qmail 11482 invoked by uid 500); 15 Jun 2010 14:00:52 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 11350 invoked by uid 500); 15 Jun 2010 14:00:52 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 11341 invoked by uid 99); 15 Jun 2010 14:00:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 14:00:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jun 2010 14:00:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 30F2F2388A33; Tue, 15 Jun 2010 14:00:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r954888 - /couchdb/branches/0.11.x/share/www/script/jquery.couch.js Date: Tue, 15 Jun 2010 14:00:03 -0000 To: commits@couchdb.apache.org From: jan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100615140003.30F2F2388A33@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jan Date: Tue Jun 15 14:00:02 2010 New Revision: 954888 URL: http://svn.apache.org/viewvc?rev=954888&view=rev Log: Partial merge of r949028 from trunk: Fix some bugs in jquery.couch.js. Namely: * bulkSave() wasn't sending a POST body. Modified: couchdb/branches/0.11.x/share/www/script/jquery.couch.js Modified: couchdb/branches/0.11.x/share/www/script/jquery.couch.js URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/script/jquery.couch.js?rev=954888&r1=954887&r2=954888&view=diff ============================================================================== --- couchdb/branches/0.11.x/share/www/script/jquery.couch.js [utf-8] (original) +++ couchdb/branches/0.11.x/share/www/script/jquery.couch.js [utf-8] Tue Jun 15 14:00:02 2010 @@ -289,7 +289,7 @@ ajax({ type: "POST", url: this.uri + "_bulk_docs" + encodeOptions(options), - data: toJSON(docs) + contentType: "application/json", data: toJSON(docs) }, options, "The documents could not be saved"