couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/master to b58f613
Date Fri, 01 Aug 2014 15:57:43 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master ca7843b81 -> b58f613b1


Fix link for new design doc


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

Branch: refs/heads/master
Commit: b58f613b1ba515bcdcae1c294d6450f6f65f3b9e
Parents: ca7843b
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Thu Jul 31 20:21:00 2014 +0200
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Thu Jul 31 20:21:00 2014 +0200

----------------------------------------------------------------------
 app/addons/documents/views-sidebar.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b58f613b/app/addons/documents/views-sidebar.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/views-sidebar.js b/app/addons/documents/views-sidebar.js
index e3cc629..8699417 100644
--- a/app/addons/documents/views-sidebar.js
+++ b/app/addons/documents/views-sidebar.js
@@ -68,17 +68,17 @@ function(app, FauxtonAPI, Components, Documents, Databases) {
       );
 
       var database = this.collection.database,
-          newurl = "#" + database.url('app') + '/new';
+          newurlPrefix = "#" + database.url('app');
 
       var newLinks = [{
         title: 'Add new',
         links: [{
           title: 'New Doc',
-          url: newurl,
+          url: newurlPrefix + '/new',
           icon: 'fonticon-plus-circled'
         },{
           title: 'New Design Doc',
-          url: newurl,
+          url: newurlPrefix + '/new_view',
           icon: 'fonticon-plus-circled'
         }]
       }];


Mime
View raw message