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:
jim-p 2019-06-04 20:50:15 -04:00
parent 2d0b724572
commit 633790aaa7
2 changed files with 0 additions and 4 deletions

View File

@ -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({

View File

@ -988,8 +988,6 @@ events.push(function() {
});
// ---------- On initial page load ------------------------------------------------------------
hideInput('ikeid', true);
hideInput('uniqid', true);
change_mode();
change_protocol();