|
@@ -238,5 +238,21 @@ var Toolbar = (function (my) {
|
238
|
238
|
}
|
239
|
239
|
};
|
240
|
240
|
|
|
241
|
+ /**
|
|
242
|
+ * Sets the state of the button. The button has blue glow if desktop streaming is active.
|
|
243
|
+ * @param active the state of the desktop streaming.
|
|
244
|
+ */
|
|
245
|
+ my.changeDesktopSharingButtonState = function (active) {
|
|
246
|
+ var button = $("#desktopsharing > a");
|
|
247
|
+ if(active)
|
|
248
|
+ {
|
|
249
|
+ button.addClass("glow");
|
|
250
|
+ }
|
|
251
|
+ else
|
|
252
|
+ {
|
|
253
|
+ button.removeClass("glow");
|
|
254
|
+ }
|
|
255
|
+ }
|
|
256
|
+
|
241
|
257
|
return my;
|
242
|
258
|
}(Toolbar || {}));
|