couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject couchdb commit: updated refs/heads/master to 698f55b
Date Fri, 06 Jun 2014 07:22:16 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master 3e981dc04 -> 698f55b1b


Fauxton: Update breadcrumb on duplicate doc

Small fix that makes sure the breadcrumb is updated with the new doc id
when a document is duplicated.


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

Branch: refs/heads/master
Commit: 698f55b1bd72d2ab3585cf9be239095f2c38a2d3
Parents: 3e981dc
Author: Garren Smith <garren.smith@gmail.com>
Authored: Thu Jun 5 12:30:44 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Fri Jun 6 09:21:35 2014 +0200

----------------------------------------------------------------------
 src/fauxton/app/addons/documents/routes.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/698f55b1/src/fauxton/app/addons/documents/routes.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/routes.js b/src/fauxton/app/addons/documents/routes.js
index 6d67dae..a21bdaa 100644
--- a/src/fauxton/app/addons/documents/routes.js
+++ b/src/fauxton/app/addons/documents/routes.js
@@ -71,6 +71,7 @@ function(app, FauxtonAPI, Documents, Databases) {
       var doc = this.doc,
       docView = this.docView,
       database = this.database;
+      this.docID = newId;
 
       doc.copy(newId).then(function () {
         doc.set({_id: newId});


Mime
View raw message