diff options
Diffstat (limited to 'src/usr/local/www/services_ntpd.php')
-rw-r--r-- | src/usr/local/www/services_ntpd.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/usr/local/www/services_ntpd.php b/src/usr/local/www/services_ntpd.php index 22af484..ca7abc8 100644 --- a/src/usr/local/www/services_ntpd.php +++ b/src/usr/local/www/services_ntpd.php @@ -340,7 +340,7 @@ $btnadv = new Form_Button( 'fa-cog' ); -$btnadv->addClass('btn-info btn-sm'); +$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm'); $section->addInput(new Form_StaticText( 'Statistics Logging', @@ -376,7 +376,7 @@ $btnadv = new Form_Button( 'fa-cog' ); -$btnadv->addClass('btn-info btn-sm'); +$btnadv->setAttribute('type','button')->addClass('btn-info btn-sm'); $section->addInput(new Form_StaticText( 'Leap seconds', @@ -445,8 +445,6 @@ events.push(function() { $('#btnadvstats').html('<i class="fa fa-cog"></i> ' + text); } - $('#btnadvstats').prop('type', 'button'); - $('#btnadvstats').click(function(event) { show_advstats(); }); @@ -484,8 +482,6 @@ events.push(function() { $('#btnadvleap').html('<i class="fa fa-cog"></i> ' + text); } - $('#btnadvleap').prop('type', 'button'); - $('#btnadvleap').click(function(event) { show_advleap(); }); |