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.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/www/document.html b/share/www/document.html
index 5e8831ce..922a651a 100644
--- a/share/www/document.html
+++ b/share/www/document.html
@@ -42,8 +42,9 @@ 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").html('<a href="/'+encodeURIComponent(page.db.name)
- +'/'+encodeURIComponent(page.docId)+'>'+page.docId+'</a>');
+ $("h1 strong").text(page.docId);
+ $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) +
+ "/" + encodeURIComponent(page.docId));
page.updateFieldListing();
$("#tabs li.tabular a").click(page.activateTabularView);
@@ -62,6 +63,7 @@ specific language governing permissions and limitations under the License.
<a href="index.html">Overview</a>
<a class="dbname" href="#">?</a>
<strong>?</strong>
+ <a class="raw" title="Raw document"></a>
</h1>
<div id="content">
<ul id="toolbar">