diff --git a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php index ce40a99dca..19fe79c940 100644 --- a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php +++ b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php @@ -116,6 +116,7 @@ if ($_REQUEST['getdyndnsstatus']) { print('N/A ' . date("H:i:s")); } } + exit; } else if ($_POST['widgetkey']) { set_customwidgettitle($user_settings); @@ -272,34 +273,41 @@ if (!function_exists('get_dyndns_service_text')) { diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php index 26c9abb551..8249ebdecc 100644 --- a/src/usr/local/www/widgets/widgets/system_information.widget.php +++ b/src/usr/local/www/widgets/widgets/system_information.widget.php @@ -137,12 +137,6 @@ if ($_REQUEST['getupdatestatus']) { header("Location: /index.php"); } -/* Adding one second to the system widet update period - * will ensure that we update the GUI right after the stats are updated. - */ -$widgetperiod = isset($config['widgets']['period']) ? $config['widgets']['period'] * 1000 : 10000; -$widgetperiod += 1000; - $filesystems = get_mounted_filesystems(); $skipsysinfoitems = explode(",", $user_settings['widgets'][$widgetkey]['filter']); @@ -692,7 +686,7 @@ events.push(function(){ versionObject.parms = postdata; versionObject.freq = 100; - // Register the AJAX object + //Register the AJAX object register_ajax(versionObject); // ---------------------------------------------------------------------------------------------------