handle event FIREFOX_EXTENSION_NEEDED

This commit is contained in:
isymchych 2016-01-13 16:37:17 +02:00
parent b3f8d8fcd3
commit 3f099ebb0a
2 changed files with 5 additions and 1 deletions

View File

@ -496,6 +496,10 @@ 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

View File

@ -621,7 +621,7 @@ UI.notifyFirefoxExtensionRequired = function (url) {
null,
null,
APP.translation.generateTranslationHTML(
"dialog.firefoxExtensionPrompt", {url: url}
"dialog.firefoxExtensionPrompt", {url}
)
);
};