mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
js ftp user bugfix
This commit is contained in:
parent
16ca690301
commit
e1b9d53541
3 changed files with 64 additions and 4 deletions
|
@ -3,7 +3,7 @@ App.Actions.WEB.update_ftp_username_hint = function(elm, hint) {
|
|||
$(elm).parent().find('.hint').html('');
|
||||
}
|
||||
|
||||
hint = hint.replace(/[^\w\d]/gi, '');
|
||||
//hint = hint.replace(/[^\w\d]/gi, '');
|
||||
|
||||
if (hint.indexOf(GLOBAL.FTP_USER_PREFIX) == 0) {
|
||||
hint = hint.slice(GLOBAL.FTP_USER_PREFIX.length, hint.length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue