Trim duplicate profile before post to save

This commit is contained in:
Jonathan 2022-12-15 15:37:46 +01:00
parent b11f047332
commit 14b884b53d
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ enterprise_hook('close_meta_frame');
data: {
page: 'include/ajax/profile',
search_profile_nanme: true,
profile_name: $('#text-name').val(),
profile_name: $('#text-name').val().trim(),
},
success: function (data) {
if(data === 'true'){