aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dyntables/www/php/diag_dhcp_leases.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dyntables/www/php/diag_dhcp_leases.php')
-rw-r--r--packages/dyntables/www/php/diag_dhcp_leases.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/dyntables/www/php/diag_dhcp_leases.php b/packages/dyntables/www/php/diag_dhcp_leases.php
index 54883431..4ff8e241 100644
--- a/packages/dyntables/www/php/diag_dhcp_leases.php
+++ b/packages/dyntables/www/php/diag_dhcp_leases.php
@@ -264,13 +264,15 @@ $ajaxRequest = "
'{$_SERVER['SCRIPT_NAME']}',
{
method: 'get',
- parameters: 'refresh=true',
+ parameters: { refresh: 'true' },
+ onLoading: openInfoDialog,
onSuccess: function(transport) {
var json = transport.responseText.evalJSON();
var table = document.getElementById('sortabletable');
emtyDhcpLeaseTable(table);
dhcpLeaseTableToHTML(table, json, '{$g['theme']}');
+ Dialog.closeInfo();
}
});
}