summaryrefslogtreecommitdiff
path: root/share/www/script/browse.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/browse.js')
-rw-r--r--share/www/script/browse.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/www/script/browse.js b/share/www/script/browse.js
index dde31c05..1417a96b 100644
--- a/share/www/script/browse.js
+++ b/share/www/script/browse.js
@@ -115,6 +115,7 @@ function CouchDatabasePage() {
this.viewName = viewName;
this.db = db;
this.isDirty = false;
+ this.isTempView = viewName == "_temp_view";
page = this;
this.addDocument = function() {
@@ -393,7 +394,7 @@ function CouchDatabasePage() {
$.cookies.remove(dbName + ".desc");
}
$("#paging a").unbind();
- $("#documents tbody.content").empty();
+ $("#documents").find("tbody.content").empty().end().show();
this.updateDesignDocLink();
options.success = function(resp) {