couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject [49/50] [abbrv] git commit: updated refs/heads/replicator-redesign to 066d69b
Date Tue, 01 Oct 2013 13:46:59 GMT
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 <deathbearbrown@gmail.com>
Authored: Mon Sep 30 10:40:05 2013 -0400
Committer: suelockwood <deathbearbrown@gmail.com>
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.'
         });


Mime
View raw message