Removes listener to missing event and duplicate dialog code.

This commit is contained in:
damencho 2016-03-04 15:36:53 -06:00
parent 413e5098c8
commit d78666a49d
2 changed files with 0 additions and 19 deletions

View File

@ -813,10 +813,6 @@ export default {
APP.UI.updateDTMFSupport(isDTMFSupported); APP.UI.updateDTMFSupport(isDTMFSupported);
}); });
room.on(ConferenceEvents.FIREFOX_EXTENSION_NEEDED, function (url) {
APP.UI.notifyFirefoxExtensionRequired(url);
});
APP.UI.addListener(UIEvents.ROOM_LOCK_CLICKED, () => { APP.UI.addListener(UIEvents.ROOM_LOCK_CLICKED, () => {
if (room.isModerator()) { if (room.isModerator()) {
let promise = roomLocker.isLocked let promise = roomLocker.isLocked

View File

@ -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. * Notify user that he was automatically muted when joned the conference.
*/ */