fix room lock msgs

Took 4 minutes
This commit is contained in:
2020-10-05 20:32:26 +02:00
parent c957eae3bb
commit 7373d4417f
2 changed files with 21 additions and 10 deletions

6
vendor/js/faq.js vendored
View File

@ -99,6 +99,9 @@ function askQuestion()
case 903:
askErrorMsg.html( "The question should contain at least 10 up to 500 characters!<br>The nickname should contain at least 3 up to 20 characters!" );
break;
case 910:
askErrorMsg.html( "The Room is locked.<br>You cannot ask/answer questions anymore!" );
break;
default:
$('.modal').modal('hide');
setTimeout( function( result ){
@ -197,6 +200,9 @@ function answer()
case 905:
answerErrorMsg.html( 'You are not allowed to answer questions!' );
break;
case 910:
answerErrorMsg.html( "The Room is locked.<br>You cannot ask/answer questions anymore!" );
break;
default:
answerErrorMsg.html( 'An error occurred. Please try again later!' );
}