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

View File

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