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 df97c0a
Date Tue, 20 Aug 2013 20:52:08 GMT
Updated Branches:
  refs/heads/master f8994b8a7 -> df97c0a24


Document routes lost their selected headers for primary nav


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

Branch: refs/heads/master
Commit: df97c0a2444a77b022768e54d8ba96c47158be3d
Parents: f8994b8
Author: suelockwood <deathbearbrown@gmail.com>
Authored: Tue Aug 20 16:52:05 2013 -0400
Committer: suelockwood <deathbearbrown@gmail.com>
Committed: Tue Aug 20 16:52:05 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/df97c0a2/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 6a7d4b4..23ebc1e 100644
--- a/src/fauxton/app/modules/documents/routes.js
+++ b/src/fauxton/app/modules/documents/routes.js
@@ -28,6 +28,7 @@ function(app, FauxtonAPI, Documents, Databases) {
   var DocEditorRouteObject = FauxtonAPI.RouteObject.extend({
     layout: "one_pane",
     disableLoader: true,
+    selectedHeader: "Databases",
     initialize: function(route, masterLayout, options) {
       var databaseName = options[0], docID = options[1]||'new';
 
@@ -132,12 +133,13 @@ function(app, FauxtonAPI, Documents, Databases) {
     routes: {
       "database/:database/new": "code_editor"
     },
+    selectedHeader: "Databases",
 
   });
 
   var DocumentsRouteObject = FauxtonAPI.RouteObject.extend({
     layout: "with_tabs_sidebar",
-    navSelector: '.databases',
+    selectedHeader: "Databases",
     routes: {
       "database/:database/_all_docs(:extra)": "allDocs", 
       "database/:database/_design/:ddoc/_view/:view": {
@@ -330,7 +332,7 @@ function(app, FauxtonAPI, Documents, Databases) {
 
   var ChangesRouteObject = FauxtonAPI.RouteObject.extend({
     layout: "with_tabs",
-    navSelector: '.databases',
+    selectedHeader: "Databases",
     crumbs: function () {
       return [
         {"name": "Databases", "link": "/_all_dbs"},


Mime
View raw message