summaryrefslogtreecommitdiff
path: root/share/www/document.html
diff options
context:
space:
mode:
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() {