couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [17/51] [abbrv] futon commit: updated refs/heads/import-master to 53a86dd
Date Thu, 31 Jul 2014 21:43:07 GMT
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-futon/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-futon/commit/ebebb531
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-futon/tree/ebebb531
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-futon/diff/ebebb531

Branch: refs/heads/import-master
Commit: ebebb5312e66a6868b7e06d2a7bad61eb85dd21d
Parents: 68f033b
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

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


http://git-wip-us.apache.org/repos/asf/couchdb-futon/blob/ebebb531/script/futon.browse.js
----------------------------------------------------------------------
diff --git a/script/futon.browse.js b/script/futon.browse.js
index bbb29b3..241164c 100644
--- a/script/futon.browse.js
+++ b/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