diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 18:40:09 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 18:40:18 -0400 |
commit | 53fe857e2677116d772857e8c3d072ca3234398d (patch) | |
tree | d8da6d1829f205c9ff75e4f2b41037844bf56083 /src | |
parent | dc99feef4efd4fe6433a1072a28b193f7f368d6d (diff) | |
download | pfsense-53fe857e2677116d772857e8c3d072ca3234398d.zip pfsense-53fe857e2677116d772857e8c3d072ca3234398d.tar.gz |
Merge pull request #2834 from phil-davis/patch-4
(cherry picked from commit 2fdd07e9bbb5eda3c42c9d1cb4980d668f8dfcdf)
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/system_advanced_misc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system_advanced_misc.php b/src/usr/local/www/system_advanced_misc.php index 50c2e8d..f76776c 100644 --- a/src/usr/local/www/system_advanced_misc.php +++ b/src/usr/local/www/system_advanced_misc.php @@ -602,11 +602,11 @@ $ramdisk_msg = gettext('The \"Use Ramdisk\" setting has been changed. This will <script> //<![CDATA[ events.push(function() { - // Record the state of the Ue Ramsidk checkbox on page load + // Record the state of the Use Ramdisk checkbox on page load use_ramdisk = $('#use_mfs_tmpvar').prop('checked'); $('form').submit(function(event) { - // Has the Use ramdisk checkbox changes state? + // Has the Use ramdisk checkbox changed state? if ($('#use_mfs_tmpvar').prop('checked') != use_ramdisk) { if (confirm("<?=$ramdisk_msg?>")) { $('form').append('<input type="hidden" name="doreboot" id="doreboot" value="yes"/>'); |