From fc48da171336985cd63beccf0110051dfbe92a47 Mon Sep 17 00:00:00 2001 From: NOYB Date: Sun, 24 Apr 2016 00:07:20 -0700 Subject: Status / IPsec / Overview - Few_Fixes 1) If there is no IPsec status response display an info box wrapped in table tags to prevent horizontal scroll bar. 2) Correct colspan to match header columns. 3) Punctuation. --- src/usr/local/www/status_ipsec.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/usr/local/www/status_ipsec.php b/src/usr/local/www/status_ipsec.php index 4ca13d7..4968d31 100644 --- a/src/usr/local/www/status_ipsec.php +++ b/src/usr/local/www/status_ipsec.php @@ -520,8 +520,8 @@ display_top_tabs($tab_array); - - + + @@ -569,6 +569,11 @@ events.push(function() { // Deal with the results of the above ajax call ajaxRequest.done(function (response, textStatus, jqXHR) { + + if (!response) { + response = ''; + } + $('#ipsec-body').html(response); ajax_lock = false; -- cgit v1.1