diff --git a/resources/views/admin/upload/index.blade.php b/resources/views/admin/upload/index.blade.php index e8bca9d..ab10944 100644 --- a/resources/views/admin/upload/index.blade.php +++ b/resources/views/admin/upload/index.blade.php @@ -112,9 +112,11 @@ function validate(){ return false; } - if(title.indexOf(',') !== -1){ + if( title.indexOf(',') !== -1 + || title.indexOf('/') !== -1 + ){ //event.preventDefault(); - alert( "Comma Not Allowed in Title"); + alert( "Comma or slash Not Allowed in Title"); return false; }