|
@@ -203,10 +203,18 @@ function muteLocalVideo (muted) {
|
203
|
203
|
/**
|
204
|
204
|
* Check if the welcome page is enabled and redirects to it.
|
205
|
205
|
* If requested show a thank you dialog before that.
|
|
206
|
+ * If we have a close page enabled, redirect to it without
|
|
207
|
+ * showing any other dialog.
|
206
|
208
|
* @param {boolean} showThankYou whether we should show a thank you dialog
|
207
|
209
|
*/
|
208
|
210
|
function maybeRedirectToWelcomePage(showThankYou) {
|
209
|
211
|
|
|
212
|
+ // if close page is enabled redirect to it, without further action
|
|
213
|
+ if (config.enableClosePage) {
|
|
214
|
+ window.location.pathname = "close.html";
|
|
215
|
+ return;
|
|
216
|
+ }
|
|
217
|
+
|
210
|
218
|
if (showThankYou) {
|
211
|
219
|
APP.UI.messageHandler.openMessageDialog(
|
212
|
220
|
null, null, null,
|