diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-27 00:21:41 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-27 00:21:41 -0500 |
commit | 312085250d5a4de98b988c236d328025f0f4e519 (patch) | |
tree | 6a830499f988e06b213ad3b6803eed4f7f92e546 /src | |
parent | 98becb40e712e771125ea994323d9bc594d8c541 (diff) | |
parent | b243f40caf818c5fea09b64a9d903266bb36690d (diff) | |
download | pfsense-312085250d5a4de98b988c236d328025f0f4e519.zip pfsense-312085250d5a4de98b988c236d328025f0f4e519.tar.gz |
Merge pull request #2545 from phil-davis/patch-2
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/services_ntpd_gps.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/services_ntpd_gps.php b/src/usr/local/www/services_ntpd_gps.php index 7b8751f..2781178 100644 --- a/src/usr/local/www/services_ntpd_gps.php +++ b/src/usr/local/www/services_ntpd_gps.php @@ -138,8 +138,8 @@ if ($_POST) { unset($config['ntpd']['gps']['prefer']); } - if (!empty($_POST['gpsselect'])) { - $config['ntpd']['gps']['noselect'] = $_POST['gpsselect']; + if (!empty($_POST['gpsnoselect'])) { + $config['ntpd']['gps']['noselect'] = $_POST['gpsnoselect']; } elseif (isset($config['ntpd']['gps']['noselect'])) { unset($config['ntpd']['gps']['noselect']); } @@ -321,7 +321,7 @@ $section->addInput(new Form_Checkbox( )); $section->addInput(new Form_Checkbox( - 'gpsselect', + 'gpsnoselect', null, 'Do not use this clock, display for reference only (default: unchecked).', $pconfig['noselect'] @@ -530,14 +530,14 @@ events.push(function() { set_gps_default('<?=$pconfig['type']?>'); - // Checkboxes gpsprefer and gpsselect are mutually exclusive + // Checkboxes gpsprefer and gpsnoselect are mutually exclusive $('#gpsprefer').click(function() { if ($(this).is(':checked')) { - $('#gpsselect').prop('checked', false); + $('#gpsnoselect').prop('checked', false); } }); - $('#gpsselect').click(function() { + $('#gpsnoselect').click(function() { if ($(this).is(':checked')) { $('#gpsprefer').prop('checked', false); } |