use a smaller rev token for attachment versions, thanks for the suggestion Damien

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@948282 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/jquery.couch.js b/jquery.couch.js
index c9e00cc..b2c8e4a 100644
--- a/jquery.couch.js
+++ b/jquery.couch.js
@@ -164,7 +164,7 @@
             return false;
           } else {
             doc._attachments = doc._attachments || {};
-            doc._attachments["rev-"+doc._rev] = {
+            doc._attachments["rev-"+doc._rev.split("-")[0]] = {
               content_type :"application/json",
               data : Base64.encode(rawDocs[doc._id].raw)
             }