Tweak name sanitation logic

This commit is contained in:
SillyLossy
2023-03-22 14:52:56 +02:00
parent bbe6583e03
commit c44bb9bb41
2 changed files with 4 additions and 24 deletions

View File

@ -3278,10 +3278,6 @@ $(document).ready(function () {
}
},
error: function (jqXHR, exception) {
if (jqXHR.status == 403) {
callPopup(`Character can't be imported due to invalid name. Please choose other name`, 'text');
}
//alert('ERROR: '+xhr.status+ ' Status Text: '+xhr.statusText+' '+xhr.responseText);
$("#create_button").removeAttr("disabled");
},
@ -3946,9 +3942,6 @@ $(document).ready(function () {
}
},
error: function (jqXHR, exception) {
if (jqXHR.status == 403) {
callPopup(`Character can't be imported due to invalid name. Please choose other name`, 'text');
}
$("#create_button").removeAttr("disabled");
},
});