|
@@ -21,6 +21,7 @@ import SettingsMenu from "./side_pannels/settings/SettingsMenu";
|
21
|
21
|
import Profile from "./side_pannels/profile/Profile";
|
22
|
22
|
import Settings from "./../settings/Settings";
|
23
|
23
|
import RingOverlay from "./ring_overlay/RingOverlay";
|
|
24
|
+import RandomUtil from "../util/RandomUtil";
|
24
|
25
|
import UIErrors from './UIErrors';
|
25
|
26
|
|
26
|
27
|
var EventEmitter = require("events");
|
|
@@ -1046,7 +1047,7 @@ UI.updateDTMFSupport = function (isDTMFSupported) {
|
1046
|
1047
|
* @returns {Promise} Resolved with value - false if the dialog is enabled and
|
1047
|
1048
|
* resolved with true if the dialog is disabled or the feedback was already
|
1048
|
1049
|
* submitted. Rejected if another dialog is already displayed. This values are
|
1049
|
|
- * used to display or not display the thank you dialog from
|
|
1050
|
+ * used to display or not display the thank you dialog from
|
1050
|
1051
|
* conference.maybeRedirectToWelcomePage method.
|
1051
|
1052
|
*/
|
1052
|
1053
|
UI.requestFeedbackOnHangup = function () {
|
|
@@ -1103,7 +1104,8 @@ UI.notifyFocusDisconnected = function (focus, retrySec) {
|
1103
|
1104
|
* the page should be reloaded.
|
1104
|
1105
|
*/
|
1105
|
1106
|
UI.showPageReloadOverlay = function () {
|
1106
|
|
- PageReloadOverlay.show(15 /* will reload in 15 seconds */);
|
|
1107
|
+ // Reload the page after 10 - 30 seconds
|
|
1108
|
+ PageReloadOverlay.show(10 + RandomUtil.randomInt(0, 20));
|
1107
|
1109
|
};
|
1108
|
1110
|
|
1109
|
1111
|
/**
|