summaryrefslogtreecommitdiff
path: root/share/www/browse/database.html
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/browse/database.html')
-rw-r--r--share/www/browse/database.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/www/browse/database.html b/share/www/browse/database.html
index fe17a47b..f1f25e9e 100644
--- a/share/www/browse/database.html
+++ b/share/www/browse/database.html
@@ -79,7 +79,12 @@ specific language governing permissions and limitations under the License.
page.populateViewsMenu();
page.populateViewEditor();
- page.updateDocumentListing();
+ if (!page.isTempView) {
+ page.updateDocumentListing();
+ } else {
+ $("#viewcode").show().removeClass("collapsed").find("textarea")[0].focus();
+ $("#documents").hide();
+ }
$("#switch select").change(function() {
var viewName = $(this).val();