Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 625e015

Browse files
committedOct 5, 2015
Ensure screensharing start event is also called after the FF extension is installed.
1 parent 3f62ebc commit 625e015

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎static/js/services/screensharing.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@ define(['underscore', 'text!partials/screensharedialogff.html', 'webrtc.adapter'
7070
// Define our helpers.
7171
this.prepare = null;
7272
this.cancel = null;
73+
var that = this;
7374

7475
var selectFirefoxScreenToShare = function(options) {
7576
// To work, the current domain must be whitelisted in
7677
// media.getusermedia.screensharing.allowed_domains (about:config).
7778
// See https://wiki.mozilla.org/Screensharing for reference.
79+
that.globalNotify().screensharingStart();
7880
var d = $q.defer();
7981
var dlg = dialogs.create('/dialogs/screensharedialogff.html', screenshareDialogFFController, {selection: "screen"}, {});
8082
dlg.result.then(function(source) {
@@ -192,7 +194,6 @@ define(['underscore', 'text!partials/screensharedialogff.html', 'webrtc.adapter'
192194
// No support for screen sharing.
193195
}
194196

195-
var that = this;
196197
var waiting = false;
197198
var prepareAlternative = this.prepare;
198199

0 commit comments

Comments
 (0)
Please sign in to comment.