mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Trim duplicate profile before post to save
This commit is contained in:
parent
b11f047332
commit
14b884b53d
@ -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'){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user