couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nome Consulting (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-819) rev 958039 breaks "Save Document"
Date Wed, 07 Jul 2010 00:13:50 GMT
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.


Mime
View raw message