fix room lock msgs
Took 4 minutes
This commit is contained in:
6
vendor/js/faq.js
vendored
6
vendor/js/faq.js
vendored
@ -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!' );
|
||||
}
|
||||
|
Reference in New Issue
Block a user