|
|
|
@ -22,6 +22,7 @@ import Profile from "./side_pannels/profile/Profile"; |
|
|
|
|
import Settings from "./../settings/Settings"; |
|
|
|
|
import RingOverlay from "./ring_overlay/RingOverlay"; |
|
|
|
|
import UIErrors from './UIErrors'; |
|
|
|
|
import { debounce } from "../util/helpers"; |
|
|
|
|
|
|
|
|
|
var EventEmitter = require("events"); |
|
|
|
|
UI.messageHandler = require("./util/MessageHandler"); |
|
|
|
@ -438,9 +439,10 @@ UI.start = function () { |
|
|
|
|
bindEvents(); |
|
|
|
|
sharedVideoManager = new SharedVideoManager(eventEmitter); |
|
|
|
|
if (!interfaceConfig.filmStripOnly) { |
|
|
|
|
$("#videoconference_page").mousemove(function () { |
|
|
|
|
return UI.showToolbar(); |
|
|
|
|
}); |
|
|
|
|
let debouncedShowToolbar = debounce(() => { |
|
|
|
|
UI.showToolbar(); |
|
|
|
|
}, 100, { leading: true, trailing: false }); |
|
|
|
|
$("#videoconference_page").mousemove(debouncedShowToolbar); |
|
|
|
|
setupToolbars(); |
|
|
|
|
setupChat(); |
|
|
|
|
|
|
|
|
@ -1046,7 +1048,7 @@ UI.updateDTMFSupport = function (isDTMFSupported) { |
|
|
|
|
* @returns {Promise} Resolved with value - false if the dialog is enabled and |
|
|
|
|
* resolved with true if the dialog is disabled or the feedback was already |
|
|
|
|
* submitted. Rejected if another dialog is already displayed. This values are |
|
|
|
|
* used to display or not display the thank you dialog from
|
|
|
|
|
* used to display or not display the thank you dialog from |
|
|
|
|
* conference.maybeRedirectToWelcomePage method. |
|
|
|
|
*/ |
|
|
|
|
UI.requestFeedbackOnHangup = function () { |
|
|
|
|