summaryrefslogtreecommitdiff
path: root/share/www/browse
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/browse')
-rw-r--r--share/www/browse/database.html3
-rw-r--r--share/www/browse/document.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/share/www/browse/database.html b/share/www/browse/database.html
index 6b12ed7d..a3c08804 100644
--- a/share/www/browse/database.html
+++ b/share/www/browse/database.html
@@ -103,6 +103,9 @@ specific language governing permissions and limitations under the License.
$("#toolbar button.add").click(page.addDocument);
$("#toolbar button.compact").click(page.compactDatabase);
$("#toolbar button.delete").click(page.deleteDatabase);
+
+ // Update title
+ document.title = "Browse Database " + page.db.name;
});
</script>
</head>
diff --git a/share/www/browse/document.html b/share/www/browse/document.html
index 09136533..f4f6fff9 100644
--- a/share/www/browse/document.html
+++ b/share/www/browse/document.html
@@ -64,6 +64,9 @@ specific language governing permissions and limitations under the License.
$("#toolbar button.add").click(page.addField);
$("#toolbar button.load").click(page.uploadAttachment);
$("#toolbar button.delete").click(page.deleteDocument);
+
+ // Update the title
+ document.title = "View Document " + page.docId;
});
</script>
</head>