diff options
author | Ben Russell <ben@benru.co.uk> | 2013-11-13 23:05:10 +0000 |
---|---|---|
committer | Ben Russell <ben@benru.co.uk> | 2013-11-13 23:05:10 +0000 |
commit | 4906b591bb7f1955fc55b68696841b189a7fbfc2 (patch) | |
tree | 59c405cfb29c22c87aeec235d893123270b7cfc1 | |
parent | 4c324fc8a08b1fa5bb0c30870ad085edb4ec34d3 (diff) | |
download | couchdb-4906b591bb7f1955fc55b68696841b189a7fbfc2.tar.gz |
COUCHDB-1930 - fix - Futon, create New Document and change _id, clicking Save Document will save but sends you to wrong doc
-rw-r--r-- | share/www/script/futon.browse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js index bbb29b3b6..241164c6e 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); } }); } |