couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject git commit: updated refs/heads/master to 4ac5314
Date Mon, 09 Sep 2013 21:00:31 GMT
Updated Branches:
  refs/heads/master 89e4c029b -> 4ac5314ae


Breadcrumbs was missing the docID


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

Branch: refs/heads/master
Commit: 4ac5314ae15d6105113efc03678a85de46141329
Parents: 89e4c02
Author: suelockwood <deathbearbrown@gmail.com>
Authored: Mon Sep 9 17:00:24 2013 -0400
Committer: suelockwood <deathbearbrown@gmail.com>
Committed: Mon Sep 9 17:00:24 2013 -0400

----------------------------------------------------------------------
 src/fauxton/app/modules/documents/routes.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4ac5314a/src/fauxton/app/modules/documents/routes.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/documents/routes.js b/src/fauxton/app/modules/documents/routes.js
index 81c4d23..730b4bf 100644
--- a/src/fauxton/app/modules/documents/routes.js
+++ b/src/fauxton/app/modules/documents/routes.js
@@ -30,11 +30,12 @@ function(app, FauxtonAPI, Documents, Databases) {
     disableLoader: true,
     selectedHeader: "Databases",
     initialize: function(route, masterLayout, options) {
-      var databaseName = options[0], docID = options[1]||'new';
+      var databaseName = options[0];
+      this.docID = options[1]||'new';
 
       this.database = this.database || new Databases.Model({id: databaseName});
       this.doc = new Documents.Doc({
-        _id: docID
+        _id: this.docID
       }, {
         database: this.database
       });


Mime
View raw message