File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ $(function() {
178178 var prefix = 'www.' ;
179179 document . getElementById ( 'v_aliases' ) . value = prefix + document . getElementById ( 'v_domain' ) . value ;
180180 } ) ;
181+ App . Actions . WEB . toggle_letsencrypt ( $ ( 'input[name=v_letsencrypt]' ) )
181182} ) ;
182183
183184function WEBrandom ( ) {
Original file line number Diff line number Diff line change @@ -174,11 +174,14 @@ App.Actions.WEB.passwordChanged = function(elm) {
174174App . Listeners . WEB . keypress_ftp_username ( ) ;
175175App . Listeners . WEB . keypress_ftp_path ( ) ;
176176
177- $ ( '.v-ftp-user-psw' ) . on ( 'keypress' , function ( evt ) {
178- var elm = $ ( evt . target ) ;
179- App . Actions . WEB . passwordChanged ( elm ) ;
180- } ) ;
181177
178+ $ ( function ( ) {
179+ $ ( '.v-ftp-user-psw' ) . on ( 'keypress' , function ( evt ) {
180+ var elm = $ ( evt . target ) ;
181+ App . Actions . WEB . passwordChanged ( elm ) ;
182+ } ) ;
183+ App . Actions . WEB . toggle_letsencrypt ( $ ( 'input[name=v_letsencrypt]' ) )
184+ } ) ;
182185
183186function WEBrandom ( ) {
184187 var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz' ;
You can’t perform that action at this time.
0 commit comments