Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 248e98071 -> 9a445a069


Database link fix on Add/Edit View page

This is the same issue as d072d9ffad7fc57c3cbb548c879950cd164cf1c6

There's no test because it works fine for test environments: the
link fails when Fauxton or a wrapper is ran under a separate
location, like whatever.html#/database/mydb/_all_docs


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

Branch: refs/heads/master
Commit: 9a445a0693037fa136544927c9f925cea2ead1fa
Parents: 248e980
Author: Ben Keen <[email protected]>
Authored: Thu Jun 18 11:08:08 2015 -0700
Committer: Ben Keen <[email protected]>
Committed: Thu Jun 18 14:38:01 2015 -0700

----------------------------------------------------------------------
 app/addons/documents/index-editor/components.react.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/9a445a06/app/addons/documents/index-editor/components.react.jsx
----------------------------------------------------------------------
diff --git a/app/addons/documents/index-editor/components.react.jsx 
b/app/addons/documents/index-editor/components.react.jsx
index 719bf56..f7009a1 100644
--- a/app/addons/documents/index-editor/components.react.jsx
+++ b/app/addons/documents/index-editor/components.react.jsx
@@ -375,7 +375,7 @@ function (app, FauxtonAPI, React, Stores, Actions, 
Components, ReactComponents)
         );
       }
 
-      var url = FauxtonAPI.urls('allDocs', 'app', this.state.database.id, '');
+      var url = '#/' + FauxtonAPI.urls('allDocs', 'app', 
this.state.database.id, '');
 
       return (
         <div className="define-view">

Reply via email to