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 01E41F3C1 for ; Tue, 1 Oct 2013 13:47:12 +0000 (UTC) Received: (qmail 82874 invoked by uid 500); 1 Oct 2013 13:46:51 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 81709 invoked by uid 500); 1 Oct 2013 13:46:31 -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 80559 invoked by uid 99); 1 Oct 2013 13:46:15 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 13:46:15 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4DC328AC848; Tue, 1 Oct 2013 13:46:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: deathbear@apache.org To: commits@couchdb.apache.org Date: Tue, 01 Oct 2013 13:46:59 -0000 Message-Id: <079104e5366f443da784a5916da461e3@git.apache.org> In-Reply-To: <088b553bf2854e5f8b45d967c847f1e2@git.apache.org> References: <088b553bf2854e5f8b45d967c847f1e2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [49/50] [abbrv] git commit: updated refs/heads/replicator-redesign to 066d69b Delete DB always goes back to /_all_dbs Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/066d69b2 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/066d69b2 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/066d69b2 Branch: refs/heads/replicator-redesign Commit: 066d69b2b5520886a3bcfa27db1750fc932bdbe4 Parents: 62f8684 Author: suelockwood Authored: Mon Sep 30 10:40:05 2013 -0400 Committer: suelockwood Committed: Mon Sep 30 16:25:47 2013 -0400 ---------------------------------------------------------------------- src/fauxton/app/modules/documents/views.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/066d69b2/src/fauxton/app/modules/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js index 8036195..e948dc1 100644 --- a/src/fauxton/app/modules/documents/views.js +++ b/src/fauxton/app/modules/documents/views.js @@ -75,7 +75,7 @@ function(app, FauxtonAPI, Components, Documents, pouchdb, Codemirror, JSHint, re if (!result) { return; } return this.database.destroy().done(function () { - app.router.navigate('/', {trigger: true}); + app.router.navigate('#/_all_dbs', {trigger: true}); }); } }); @@ -1417,7 +1417,7 @@ function(app, FauxtonAPI, Components, Documents, pouchdb, Codemirror, JSHint, re var databaseName = this.database.id; this.database.destroy().then(function () { - FauxtonAPI.navigate('/'); + FauxtonAPI.navigate('#/_all_dbs'); FauxtonAPI.addNotification({ msg: 'The database ' + databaseName + ' has been deleted.' });