summaryrefslogtreecommitdiff
path: root/share/www/document.html
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-01-11 12:31:05 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-01-11 12:31:05 +0000
commit27b2a0becb1395bdc9159483483712e98d28fcf8 (patch)
treea4b7813d988dda6aca46b92d8b12ee2230a7be28 /share/www/document.html
parentc65e8c42391e6dd409aeae1657366a4eb8983846 (diff)
Futon docids are links to the raw JSON doc
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733462 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/document.html')
-rw-r--r--share/www/document.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/www/document.html b/share/www/document.html
index f12adf68..8308d9d9 100644
--- a/share/www/document.html
+++ b/share/www/document.html
@@ -42,7 +42,8 @@ specific language governing permissions and limitations under the License.
$(function() {
$("h1 a.dbname").text(page.dbName)
.attr("href", "database.html?" + encodeURIComponent(page.db.name));
- $("h1 strong").text(page.docId);
+ $("h1 strong").html('<a href="/'+encodeURIComponent(page.db.name)
+ +'/'+encodeURIComponent(page.docId)+'>'+page.docId+'</a>');
page.updateFieldListing();
$("#tabs li.tabular a").click(function() {