ignoring the desktop publish window as well
This commit is contained in:
parent
4746ba9f91
commit
1c50815570
@ -29,6 +29,8 @@ package org.bigbluebutton.modules.layout.model {
|
||||
// default is a reserved word in actionscript
|
||||
[Bindable] public var default_:Boolean = false;
|
||||
[Bindable] private var windows:Dictionary = new Dictionary();
|
||||
static private var _ignoredWindows:Array = new Array("PublishWindow",
|
||||
"VideoWindow", "DesktopPublishWindow");
|
||||
|
||||
public function load(vxml:XML):void {
|
||||
if (vxml != null) {
|
||||
@ -81,7 +83,7 @@ package org.bigbluebutton.modules.layout.model {
|
||||
for each (var window:MDIWindow in canvas.windowManager.windowList) {
|
||||
var layout:WindowLayout = WindowLayout.getLayout(canvas, window);
|
||||
// for now we will just ignore the video windows
|
||||
if (layout.name == "PublishWindow" || layout.name == "VideoWindow")
|
||||
if (layout.name in _ignoredWindows)
|
||||
continue;
|
||||
layoutDefinition.windows[layout.name] = layout;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user