From d78666a49d32523f2b99f41b96e313406f3e363c Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 4 Mar 2016 15:36:53 -0600 Subject: [PATCH] Removes listener to missing event and duplicate dialog code. --- conference.js | 4 ---- modules/UI/UI.js | 15 --------------- 2 files changed, 19 deletions(-) diff --git a/conference.js b/conference.js index 154a5219c..26f779b26 100644 --- a/conference.js +++ b/conference.js @@ -813,10 +813,6 @@ export default { APP.UI.updateDTMFSupport(isDTMFSupported); }); - room.on(ConferenceEvents.FIREFOX_EXTENSION_NEEDED, function (url) { - APP.UI.notifyFirefoxExtensionRequired(url); - }); - APP.UI.addListener(UIEvents.ROOM_LOCK_CLICKED, () => { if (room.isModerator()) { let promise = roomLocker.isLocked diff --git a/modules/UI/UI.js b/modules/UI/UI.js index 601dc7aba..f3abf3b79 100644 --- a/modules/UI/UI.js +++ b/modules/UI/UI.js @@ -736,21 +736,6 @@ UI.notifyConnectionFailed = function (stropheErrorMsg) { ); }; -/** - * Notify user that he need to install Firefox extension to share screen. - * @param {stirng} url extension url - */ -UI.notifyFirefoxExtensionRequired = function (url) { - messageHandler.openMessageDialog( - "dialog.extensionRequired", - null, - null, - APP.translation.generateTranslationHTML( - "dialog.firefoxExtensionPrompt", {url} - ) - ); -}; - /** * Notify user that he was automatically muted when joned the conference. */