v0.9.15g - NameCheck
This commit is contained in:
@@ -81,6 +81,8 @@
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
//Dont delete me, if the user reloads the pages with text in the text-box this code runs.
|
||||
$(document).ready(function () {
|
||||
$value = $('#title').val();
|
||||
$.ajax({
|
||||
@@ -88,7 +90,6 @@
|
||||
url: '{{route('guides.nameCheck')}}',
|
||||
data: {'nameCheck':$value},
|
||||
success:function (data) {
|
||||
console.log(data);
|
||||
if(data){
|
||||
$("#error").show(100);
|
||||
$("#error").css('color', 'red');
|
||||
|
||||
Reference in New Issue
Block a user