diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-01-11 12:31:05 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-01-11 12:31:05 +0000 |
commit | 27b2a0becb1395bdc9159483483712e98d28fcf8 (patch) | |
tree | a4b7813d988dda6aca46b92d8b12ee2230a7be28 /share/www/document.html | |
parent | c65e8c42391e6dd409aeae1657366a4eb8983846 (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.html | 3 |
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() { |