Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7478FC80B for ; Mon, 9 Sep 2013 09:53:53 +0000 (UTC) Received: (qmail 22023 invoked by uid 500); 9 Sep 2013 09:53:37 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 21730 invoked by uid 500); 9 Sep 2013 09:53:33 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 19592 invoked by uid 99); 9 Sep 2013 09:53:22 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2013 09:53:22 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E949B903968; Mon, 9 Sep 2013 09:53:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jan@apache.org To: commits@couchdb.apache.org Date: Mon, 09 Sep 2013 09:53:42 -0000 Message-Id: <7d1d033207b44815883be810213512ee@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [22/50] [abbrv] git commit: updated refs/heads/1867-feature-plugins to 8aad450 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/32153bf9 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/32153bf9 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/32153bf9 Branch: refs/heads/1867-feature-plugins Commit: 32153bf9fb0b00c6e48bd5fccfd0a7e7f1853ea4 Parents: b5c044f Author: suelockwood Authored: Tue Aug 20 16:52:05 2013 -0400 Committer: Jan Lehnardt Committed: Mon Sep 9 11:16:43 2013 +0200 ---------------------------------------------------------------------- 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/32153bf9/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"},