couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michel...@apache.org
Subject fauxton commit: updated refs/heads/master to e9507c9
Date Mon, 30 Mar 2015 16:21:20 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 48b27e42c -> e9507c91a


Centralize-URL-for-Jump-to-Doc-tray


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

Branch: refs/heads/master
Commit: e9507c91ab48fc94e930b523f724d46e59cce131
Parents: 48b27e4
Author: michellephung@gmail.com <michellephung@gmail.com>
Authored: Tue Mar 10 12:57:50 2015 -0400
Committer: michellephung@gmail.com <michellephung@gmail.com>
Committed: Mon Mar 30 11:42:02 2015 -0400

----------------------------------------------------------------------
 app/addons/activetasks/assets/less/activetasks.less | 1 +
 app/addons/documents/views.js                       | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/e9507c91/app/addons/activetasks/assets/less/activetasks.less
----------------------------------------------------------------------
diff --git a/app/addons/activetasks/assets/less/activetasks.less b/app/addons/activetasks/assets/less/activetasks.less
index 68c44a9..d11f8f7 100644
--- a/app/addons/activetasks/assets/less/activetasks.less
+++ b/app/addons/activetasks/assets/less/activetasks.less
@@ -62,3 +62,4 @@
     }
   }
 }
+

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/e9507c91/app/addons/documents/views.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/views.js b/app/addons/documents/views.js
index f5c30bc..9ea6ebc 100644
--- a/app/addons/documents/views.js
+++ b/app/addons/documents/views.js
@@ -229,7 +229,8 @@ function (app, FauxtonAPI, Components, Documents,
     jumpToDoc: function (event) {
       event.preventDefault();
       var docId = this.$('#jump-to-doc-id').val().trim();
-      FauxtonAPI.navigate('/database/' + app.utils.safeURLName(this.database.id) + '/' +
app.utils.safeURLName(docId), {trigger: true});
+      var url = FauxtonAPI.urls('document', 'app', app.utils.safeURLName(this.database.id),
app.utils.safeURLName(docId) );
+      FauxtonAPI.navigate(url, {trigger: true});
     },
 
     afterRender: function () {


Mime
View raw message