mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 05:14:10 -07:00
Send email on user changed ftp user password
This commit is contained in:
parent
efc777aff1
commit
e9be41692c
4 changed files with 45 additions and 10 deletions
|
@ -84,8 +84,8 @@ App.Actions.WEB.add_ftp_user_form = function() {
|
|||
var index = $('.data-col2 .ftptable').length + 1;
|
||||
|
||||
ref.find('input').each(function(i, elm) {
|
||||
var attr_value = $(elm).attr('name').replace('%INDEX%', index);
|
||||
$(elm).attr('name', attr_value);
|
||||
var attr_value = $(elm).prop('name').replace('%INDEX%', index);
|
||||
$(elm).prop('name', attr_value);
|
||||
});
|
||||
|
||||
ref.find('.ftp-user-number').text(index);
|
||||
|
@ -141,8 +141,8 @@ App.Actions.WEB.toggle_additional_ftp_accounts = function(elm) {
|
|||
var index = $('.data-col2 .ftptable').length + 1;
|
||||
|
||||
ref.find('input').each(function(i, elm) {
|
||||
var attr_value = $(elm).attr('name').replace('%INDEX%', index);
|
||||
$(elm).attr('name', attr_value);
|
||||
var attr_value = $(elm).prop('name').replace('%INDEX%', index);
|
||||
$(elm).prop('name', attr_value);
|
||||
});
|
||||
|
||||
ref.find('.ftp-user-number').text(index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue