mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 13:01:56 -07:00
*Update letsencrypt UI on load
This commit is contained in:
parent
f1c7bafe7c
commit
894522e77b
2 changed files with 8 additions and 4 deletions
|
@ -178,6 +178,7 @@ $(function() {
|
||||||
var prefix = 'www.';
|
var prefix = 'www.';
|
||||||
document.getElementById('v_aliases').value = prefix + document.getElementById('v_domain').value;
|
document.getElementById('v_aliases').value = prefix + document.getElementById('v_domain').value;
|
||||||
});
|
});
|
||||||
|
App.Actions.WEB.toggle_letsencrypt($('input[name=v_letsencrypt]'))
|
||||||
});
|
});
|
||||||
|
|
||||||
function WEBrandom() {
|
function WEBrandom() {
|
||||||
|
|
|
@ -174,11 +174,14 @@ App.Actions.WEB.passwordChanged = function(elm) {
|
||||||
App.Listeners.WEB.keypress_ftp_username();
|
App.Listeners.WEB.keypress_ftp_username();
|
||||||
App.Listeners.WEB.keypress_ftp_path();
|
App.Listeners.WEB.keypress_ftp_path();
|
||||||
|
|
||||||
$('.v-ftp-user-psw').on('keypress', function(evt) {
|
|
||||||
var elm = $(evt.target);
|
|
||||||
App.Actions.WEB.passwordChanged(elm);
|
|
||||||
});
|
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
$('.v-ftp-user-psw').on('keypress', function (evt) {
|
||||||
|
var elm = $(evt.target);
|
||||||
|
App.Actions.WEB.passwordChanged(elm);
|
||||||
|
});
|
||||||
|
App.Actions.WEB.toggle_letsencrypt($('input[name=v_letsencrypt]'))
|
||||||
|
});
|
||||||
|
|
||||||
function WEBrandom() {
|
function WEBrandom() {
|
||||||
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz';
|
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue