You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2013/09/30 16:40:09 UTC
git commit: updated refs/heads/replicator-redesign to 494e457
Updated Branches:
refs/heads/replicator-redesign e78cc8feb -> 494e45719
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/494e4571
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/494e4571
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/494e4571
Branch: refs/heads/replicator-redesign
Commit: 494e457199b806396c7c7da294e59c067299a91a
Parents: e78cc8f
Author: suelockwood <de...@gmail.com>
Authored: Mon Sep 30 10:40:05 2013 -0400
Committer: suelockwood <de...@gmail.com>
Committed: Mon Sep 30 10:40:05 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/494e4571/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.'
});