From eaa2dc4ebe770b120fd6049268300c9083f8e4f9 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 4 Nov 2014 13:55:55 +0000 Subject: Change HTML views to display connection if there was a connection error --- lib/db-listdatabases-html.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/db-listdatabases-html.lsp') diff --git a/lib/db-listdatabases-html.lsp b/lib/db-listdatabases-html.lsp index 91ffa72..525a2b0 100644 --- a/lib/db-listdatabases-html.lsp +++ b/lib/db-listdatabases-html.lsp @@ -27,7 +27,7 @@ -- hide the database, since we don't need it to list databases form.value.connection.value.database = nil end %> -<% if form.value.connection and next(form.value.connection.value) ~= nil then +<% if form.value.connection and ( next(form.value.connection.value) ~= nil or form.value.connection.errtxt ) then htmlviewfunctions.displayformstart(form, page_info) htmlviewfunctions.displayitem(form.value.connection, page_info, htmlviewfunctions.incrementheader(header_level), "connection") form.option = "Update" -- cgit v1.2.3