From 04701065247d6d3468f3a39dfe7799052e1061e5 Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 4 Mar 2016 15:20:05 -0600 Subject: [PATCH] Shows and error dialog when we fail to install desktop sharing plugin for some reason. --- conference.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conference.js b/conference.js index 201174586..5c4c62cbe 100644 --- a/conference.js +++ b/conference.js @@ -631,6 +631,16 @@ export default { this.videoSwitchInProgress = false; this.toggleScreenSharing(false); console.error('failed to share local desktop', err); + + let dialogTxt = APP.translation + .generateTranslationHTML("dialog.failtoinstall"); + let dialogTitle = APP.translation + .generateTranslationHTML("dialog.error"); + APP.UI.messageHandler.openDialog( + dialogTitle, + dialogTxt, + false + ); }); } else { createLocalTracks('video').then(