summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/www/script/futon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/futon.js b/share/www/script/futon.js
index 2c29a5eb..2a4ad8ad 100644
--- a/share/www/script/futon.js
+++ b/share/www/script/futon.js
@@ -140,7 +140,7 @@ function $$(node) {
var userCtx = r.userCtx;
$$("#userCtx").userCtx = userCtx;
if (userCtx.name) {
- $("#userCtx .name").text(userCtx.name).attr({href : "/_utils/document.html?"+encodeURIComponent(r.info.authentication_db)+"/org.couchdb.user%3A"+encodeURIComponent(userCtx.name)});
+ $("#userCtx .name").text(userCtx.name).attr({href : $.couch.urlPrefix + "/_utils/document.html?"+encodeURIComponent(r.info.authentication_db)+"/org.couchdb.user%3A"+encodeURIComponent(userCtx.name)});
if (userCtx.roles.indexOf("_admin") != -1) {
$("#userCtx .loggedinadmin").show();
} else {