aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 10:48:59 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 10:48:59 +0100
commit334aa01056f199123e81f5bff44dbdb998562fdf (patch)
tree5d0ba385e65585a47d0af84788458a7d68ee74d0 /static
parentc1cf28d9dcc63622b5df1caeab3a2baf66811443 (diff)
Added last updated at to alerts page. Fixes #1831.
* Also upped timeouts from 5s to 30s for ajax list refreshes.
Diffstat (limited to 'static')
-rw-r--r--static/javascript/mauve_utils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/javascript/mauve_utils.js b/static/javascript/mauve_utils.js
index cd0d52b..38af0cc 100644
--- a/static/javascript/mauve_utils.js
+++ b/static/javascript/mauve_utils.js
@@ -141,7 +141,7 @@ function updateAlertsTable(alert_type, group_by) {
$.ajax( {
url: '/ajax/alerts_table/'+alert_type+'/'+group_by,
- timeout: 5000,
+ timeout: 30000,
success: function( data ) {
if ( "" == data || null == data ) {
showError("No data returned by web server when updating alerts table.", "updateAlertsTable");
@@ -169,7 +169,7 @@ function updateAlertsTable(alert_type, group_by) {
function updateAlertCounts() {
$.ajax( {
url: '/ajax/alert_counts',
- timeout: 5000,
+ timeout: 30000,
success: function(counts) {
if ( "" == counts || null == counts) {
showError("No data returned by web server when updating alert counts.", "updateAlertCounts");