couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject [1/2] git commit: updated refs/heads/master to c5f51b5
Date Fri, 15 Nov 2013 13:26:55 GMT
Updated Branches:
  refs/heads/master 311e25d66 -> c5f51b5da


COUCHDB-1930 - fix - Futon, create New Document and change _id, clicking Save Document will
save but sends you to wrong doc


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4906b591
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4906b591
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4906b591

Branch: refs/heads/master
Commit: 4906b591bb7f1955fc55b68696841b189a7fbfc2
Parents: 4c324fc
Author: Ben Russell <ben@benru.co.uk>
Authored: Wed Nov 13 23:05:10 2013 +0000
Committer: Ben Russell <ben@benru.co.uk>
Committed: Wed Nov 13 23:05:10 2013 +0000

----------------------------------------------------------------------
 share/www/script/futon.browse.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4906b591/share/www/script/futon.browse.js
----------------------------------------------------------------------
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index bbb29b3..241164c 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -1059,7 +1059,7 @@
           success: function(resp) {
             page.isDirty = false;
             location.href = "?" + encodeURIComponent(dbName) +
-              "/" + $.couch.encodeDocId(page.docId);
+              "/" + $.couch.encodeDocId(resp.id);
           }
         });
       }


Mime
View raw message