mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix IPsec forms
JS was hiding inputs, but now that the hidden inputs are global, the entire form was being hidden.
This commit is contained in:
parent
2d0b724572
commit
633790aaa7
@ -1225,8 +1225,6 @@ foreach($pconfig['encryption']['item'] as $key => $p1enc) {
|
||||
|
||||
// ---------- On initial page load ------------------------------------------------------------
|
||||
|
||||
hideInput('ikeid', true);
|
||||
|
||||
var generateButton = $('<a class="btn btn-xs btn-warning"><i class="fa fa-refresh icon-embed-btn"></i><?=gettext("Generate new Pre-Shared Key");?></a>');
|
||||
generateButton.on('click', function() {
|
||||
$.ajax({
|
||||
|
||||
@ -988,8 +988,6 @@ events.push(function() {
|
||||
});
|
||||
|
||||
// ---------- On initial page load ------------------------------------------------------------
|
||||
hideInput('ikeid', true);
|
||||
hideInput('uniqid', true);
|
||||
|
||||
change_mode();
|
||||
change_protocol();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user