mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Do not allow empty spaces
This commit is contained in:
parent
a772d953ce
commit
6be898f1d6
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ if (empty($meet_schedule_id)) {
|
|||
closeModal: true,
|
||||
},
|
||||
}).then(function (displayName) {
|
||||
if (!displayName){
|
||||
displayName = displayName.trim();
|
||||
if (!displayName || /^$|^\s+$/.test(displayName)){
|
||||
//avideoAlertError('<?php echo __("You must provide a name"); ?>');
|
||||
return getMeetDisplayName(domain, roomName, jwt, email, TOOLBAR_BUTTONS);
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue