rev 958039 breaks "Save Document"
---------------------------------

                 Key: COUCHDB-819
                 URL: https://issues.apache.org/jira/browse/COUCHDB-819
             Project: CouchDB
          Issue Type: Bug
          Components: Futon
    Affects Versions: 0.11
         Environment: Ubuntu 10.04, amd64
            Reporter: Nome Consulting


The following patch fixes a bug introduced by rev 958039. fullCommit is not 
defined and because of it some browsers break at line 362. beforeSend is not 
used in saveDoc.

Index: share/www/script/jquery.couch.js                                         
                                                                                
                                                
===================================================================             
                                                                                
                                                
--- share/www/script/jquery.couch.js    (revision 961023)                       
                                                                                
                                                
+++ share/www/script/jquery.couch.js    (working copy)                          
                                                                                
                                                
@@ -359,7 +359,7 @@                                                             
                                                                                
                                                
         saveDoc: function(doc, options) {                                      
                                                                                
                                                
           options = options || {};                                             
                                                                                
                                                
           var db = this;                                                       
                                                                                
                                                
-          var beforeSend = fullCommit(options);                                
                                                                                
                                                
+          //var beforeSend = fullCommit(options);                              
                                                                                
                                                
           if (doc._id === undefined) {                                         
                                                                                
                                                
             var method = "POST";                                               
                                                                                
                                                
             var uri = this.uri;                                                
                                                                                
                                                

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to