You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2015/01/20 19:17:13 UTC

svn commit: r1653325 - in /openmeetings/branches/3.0.x/WebContent/src: base/ modules/conference/flexibleConferenceRoom/

Author: solomax
Date: Tue Jan 20 18:17:13 2015
New Revision: 1653325

URL: http://svn.apache.org/r1653325
Log:
Room exit in RTMPT mode is fixed; code clean-up

Modified:
    openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx
    openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx
    openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/flexibleConferenceRoom.lzx
    openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/interviewConferenceRoom.lzx
    openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/restrictedConferenceRoom.lzx

Modified: openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx?rev=1653325&r1=1653324&r2=1653325&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx Tue Jan 20 18:17:13 2015
@@ -295,11 +295,7 @@
         canvas.videoComp_lc.exitRoom = function(confirm) {
             if ($debug) Debug.write("confirm exitRoom:", confirm);
             if (confirm) {
-                canvas.currentBaseConferenceRoom._screenSharingAdapter.closeAllScreenSharings();
-                if (canvas.appointmentNotificationPopUp != null) {
-                    canvas.appointmentNotificationPopUp.destroy();
-                }
-                canvas.doActionmenu('quit');
+            	logicalRoomLeave.doCall();
             }
         }
     
@@ -444,6 +440,17 @@
         ]]>
     </method>
     
+	<netRemoteCallHib name="logicalRoomLeave" funcname="logicalRoomLeave" remotecontext="$once{ canvas.thishib }" >
+		<handler name="ondata" args="value">
+			if ($debug) Debug.write("############# logicalRoomLeave: ",value);
+			canvas.currentBaseConferenceRoom._screenSharingAdapter.closeAllScreenSharings();
+			if (canvas.appointmentNotificationPopUp != null) {
+				canvas.appointmentNotificationPopUp.destroy();
+			}
+			canvas.doActionmenu('quit');
+		</handler>
+	</netRemoteCallHib>
+	
     <method name="getLabelName" args="id">
         //if($debug) Debug.write("main.lzx/getLabelName()",id);
         return getLabelTag(id);

Modified: openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx?rev=1653325&r1=1653324&r2=1653325&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx Tue Jan 20 18:17:13 2015
@@ -61,36 +61,65 @@
     
     <attribute name="meetingTimer" value="null" />
     
-    <handler name="oninit">
-        <![CDATA[
-            _mainScrollBar.setAttribute("visibility","hidden");
-            
-            if ($debug) Debug.write("roomobj: ",this.roomobj);
-            
-            canvas.currentRoomObject = this.roomobj;
-            canvas.sendViaLocalConnection(canvas.rtmp_lc_name,"setRoomValues", [this.roomobj.roomtype.roomtypes_id,this.roomobj.rooms_id,this.roomobj]);
-            
-            if (this.roomobj.isClosed) {
-                canvas.roomClosed();
-            }
-            
-            if (this.roomobj.waitForRecording) {
-                new lz.labelerrorPopup(canvas, {labelid: 1316, errorlabelid: 1315});
-            }
-            
-            canvas.currentRoomObject = this.roomobj;
-            canvas._mainbgcontentNavi.setAttribute('height',0);
-            canvas.setAttribute('naviHeightDelta',28);
-            
-            if(this._chatPanelStrict){
-            	var hideChat = this.roomobj.hideChat != null && this.roomobj.hideChat;
-				this._chatPanelStrict.setAttribute('visible', !hideChat);
-                if (hideChat) {            
-                    this._chatPanelStrict.setAttribute('height', 28);                  
-                }
-            }            
-        ]]>
-    </handler>
+	<handler name="oninit">
+	<![CDATA[
+		_mainScrollBar.setAttribute("visibility","hidden");
+		
+		if ($debug) Debug.write("roomobj: ",this.roomobj);
+		
+		canvas.currentRoomObject = this.roomobj;
+		canvas.sendViaLocalConnection(canvas.rtmp_lc_name,"setRoomValues", [this.roomobj.roomtype.roomtypes_id,this.roomobj.rooms_id,this.roomobj]);
+		
+		if (this.roomobj.isClosed) {
+			canvas.roomClosed();
+		}
+		
+		if (this.roomobj.waitForRecording) {
+			new lz.labelerrorPopup(canvas, {labelid: 1316, errorlabelid: 1315});
+		}
+		
+		canvas._mainbgcontentNavi.setAttribute('height',0);
+		canvas.setAttribute('naviHeightDelta',28);
+		
+		if (this._chatPanelStrict) {
+			var hideChat = this.roomobj.hideChat != null && this.roomobj.hideChat;
+			this._chatPanelStrict.setAttribute('visible', !hideChat);
+			if (hideChat) {
+				this._chatPanelStrict.setAttribute('height', 28);
+			}
+		}
+		
+		if (this.roomobj.hideTopBar == null || !this.roomobj.hideTopBar) {
+			createMenu();
+			canvas._conferencemenu.setAttribute('visibility','visible');
+		} else {
+			canvas.setAttribute('naviHeight',0);
+			canvas._conferencemenu.setAttribute('visibility','hidden');
+			canvas._mainbgcontentNavi.setAttribute('visibility','hidden');
+		}
+		
+		if ($debug) Debug.write("this.roomobj ",this.roomobj);
+
+		new lz.moderationPanel(canvas._moderatormenu,{
+				name:'_moderationPanel',align:'right',
+				allowUserQuestions:this.roomobj.allowUserQuestions,
+				roomName:this.roomobj.name
+			});
+		if (roomobj.appointment) {
+			canvas.appointmentNotificationPopUp = new lz.appointmentNotificationPopUp(canvas.conferenceView,{name:'appDetail', roomobj:this.roomobj });
+		} else {
+			if ($debug) Debug.write("no appointed meeting");
+		}
+		
+		if (this.roomobj.isDemoRoom && this.roomobj.demoTime != null) {
+			if ($debug) Debug.warn("THIS IS A DEMO ROOM THAT SHOULD CLOSE AFTER SEC: ",this.roomobj.demoTime);
+			this.meetingTimer = new lz.meetingTimer(canvas,{refObj:this,roomobj:this.roomobj});
+		}
+		
+		canvas.currentBaseConferenceRoom = this;
+		canvas._videocontainer.setAttribute("allowUserQuestions",this.roomobj.allowUserQuestions);
+	]]>
+	</handler>
     
 	<handler name="onkeydown" reference="lz.Keys" args="keyCode">
 	<![CDATA[
@@ -123,6 +152,76 @@
        width="${ canvas.width - parent._sidePanel.width }" isopen="${ !canvas.currentRoomObj.chatOpened }" />
        <!-- isopen need to be reverted, will be toggled -->
        
+	<handler name="ontabcontentleave">
+		if ($debug) Debug.write("################# ontabcontentleave:",this);
+		
+		this._screenSharingAdapter.closeAllScreenSharings();
+		
+		canvas.currentBaseConferenceRoom = null;
+		
+		//reset the right to draw on WHiteboard as the RoomClient Object will be destroyed also
+		//on server-Side the canDraw status will be false again when you relogin the same room
+		canvas.isAllowedToDraw = true;
+		
+		_mainScrollBar.setAttribute("visibility","visible");
+		
+		//reset rights
+		canvas.isAllowedToGiveExclusiveAudio = false;
+		
+		if (canvas._videocontainer!=null) {
+			canvas._videocontainer.resetAllValues();
+			canvas._videocontainer = null;
+		}
+		if (canvas._chatcontent!=null) {
+			canvas._chatcontent = null;
+		}
+		if (canvas._mymod!=null) {
+			canvas._mymod = null;
+		}
+		
+		if (this.meetingTimer != null) {
+			this.meetingTimer.close();
+		}
+		
+		if (canvas._drawarea.letterObjectIsActive) {
+			canvas._drawarea.currentletterObj.destroy();
+		}
+		
+		if (canvas.currentFileExplorer != null) {
+			canvas.currentFileExplorer = null;
+		}
+		
+		if (canvas.currentActivityList != null) {
+			canvas.currentActivityList = null;
+		}
+		
+		//reset if the user was connected to any slave
+		canvas.isSlaveHosted = false;
+		
+		//@deprecated we will not use old screen sharing implementation
+		//canvas._screens.clearAllSessions();
+		this.logicalRoomLeave.doCall();
+		if ($debug) Debug.write("############ this.logicalRoomLeave ",this.logicalRoomLeave);
+	</handler>
+
+	<netRemoteCallHib name="logicalRoomLeave" funcname="logicalRoomLeave" remotecontext="$once{ canvas.thishib }" >
+		<handler name="ondata" args="value">
+			if ($debug) Debug.write("############# logicalRoomLeave: ",value);
+			//this.parent.destroy();
+			canvas.thishib.reconnectAfterRoomleft = true;
+			canvas.thishib.reconnectedRoomInstance = this.parent;
+			
+			// Reconnect User to default Scope
+			canvas.thishib.userScope = "hibernate";
+			var src = hib.getUrl();
+			canvas.thishib.setAttribute('src',src);
+			canvas.thishib.disconnect();
+			canvas._mainbgcontentNavi.setAttribute('height',canvas.naviHeight);
+			canvas.setAttribute('naviHeightDelta',canvas.naviHeight);
+			canvas._conferencemenu.removeAll();
+			canvas._conferencemenu.setAttribute('visibility','hidden');
+		</handler>
+	</netRemoteCallHib>
 </class>
 
 </library>
\ No newline at end of file

Modified: openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/flexibleConferenceRoom.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/flexibleConferenceRoom.lzx?rev=1653325&r1=1653324&r2=1653325&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/flexibleConferenceRoom.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/flexibleConferenceRoom.lzx Tue Jan 20 18:17:13 2015
@@ -21,117 +21,10 @@
 <library>
 
 <class name="flexibleConferenceRoom" extends="baseConferenceRoom">
+	<method name="createMenu">
+		new lz.conferenceMenubar(canvas._conferencemenu);
+	</method>
 
-    <handler name="oninit">
-    	
-    	if (this.roomobj.hideTopBar == null || !this.roomobj.hideTopBar) {
-            new lz.conferenceMenubar(canvas._conferencemenu);
-            canvas._conferencemenu.setAttribute('visibility','visible');
-    	} else {
-    		canvas._mainbgcontentNavi.setAttribute('height',0);
-            canvas.setAttribute('naviHeight',0);
-            canvas.setAttribute('naviHeightDelta',0);
-            canvas._conferencemenu.setAttribute('visibility','hidden');
-            canvas._mainbgcontentNavi.setAttribute('visibility','hidden');            
-    	}    	
-    	
-        new lz.moderationPanel(canvas._moderatormenu,{
-                    name:'_moderationPanel',align:'right',
-                    allowUserQuestions:this.roomobj.allowUserQuestions,
-                    roomName:this.roomobj.name
-                });          
-        
-        if(roomobj.appointment){
-            canvas.appointmentNotificationPopUp = 
-            	new lz.appointmentNotificationPopUp(canvas.conferenceView,{ 
-            			name:'appDetail', roomobj:this.roomobj });    
-        } else{
-            if ($debug) Debug.write("no appointed meeting");
-        }
-        
-        if (this.roomobj.isDemoRoom) {
-            if (this.roomobj.demoTime != null) {
-                if ($debug) Debug.warn("THIS IS A DEMO ROOM THAT SHOULD CLOSE AFTER SEC: ",this.roomobj.demoTime);
-                this.meetingTimer = new lz.meetingTimer(canvas,{refObj:this,roomobj:this.roomobj});
-            }
-        }
-        
-        canvas.currentBaseConferenceRoom = this;
-    </handler>
-    
-    <handler name="ontabcontentleave">
-        if ($debug) Debug.write("################# ontabcontentleave:",this);
-        
-        //close all screensharings, videos and closes the rtmp connection in the remote host
-        this._screenSharingAdapter.closeAllScreenSharings();
-        
-        //reset the right to draw on WHiteboard as the RoomClient Object will be destroyed also
-        //on server-Side the canDraw status will be false again when you relogin the same room
-        canvas.isAllowedToDraw = true;
-        
-        _mainScrollBar.setAttribute("visibility","visible");
-        
-        //reset rights
-        canvas.isAllowedToGiveExclusiveAudio = false;
-        
-        if (canvas._videocontainer!=null){
-            canvas._videocontainer.resetAllValues();
-            canvas._videocontainer = null;
-        }
-        if (canvas._chatcontent!=null){
-            canvas._chatcontent = null;
-        }
-        if (canvas._mymod!=null){
-            canvas._mymod = null;
-        }
-        
-        if (this.meetingTimer != null) {
-            this.meetingTimer.close();
-        }
-        
-        if (canvas._drawarea.letterObjectIsActive){
-            canvas._drawarea.currentletterObj.destroy();
-        }
-        
-        if (canvas.currentFileExplorer != null) {
-        	canvas.currentFileExplorer = null;
-        }
-        
-        if (canvas.currentActivityList != null) {
-        	canvas.currentActivityList = null;
-        }
-        
-        //reset if the user was connected to any slave
-        canvas.isSlaveHosted = false;
-        
-        //@deprecated we will not use old screen sharing implementation
-        //canvas._screens.clearAllSessions();
-        this.logicalRoomLeave.doCall();
-        if ($debug) Debug.write("############ this.logicalRoomLeave ",this.logicalRoomLeave);
-    </handler>
-    
-    
-
-    <netRemoteCallHib name="logicalRoomLeave" funcname="logicalRoomLeave" remotecontext="$once{ canvas.thishib }" >
-        <handler name="ondata" args="value">
-            if ($debug) Debug.write("############# logicalRoomLeave: ",value);
-            //this.parent.destroy();
-            canvas.thishib.reconnectAfterRoomleft = true;
-            canvas.thishib.reconnectedRoomInstance = this.parent;
-            canvas.currentBaseConferenceRoom = null;
-            
-            // Reconnect User to default Scope
-            canvas.thishib.userScope = "hibernate";
-            var src = hib.getUrl();
-            canvas.thishib.setAttribute('src',src);
-            canvas.thishib.disconnect();
-            canvas._mainbgcontentNavi.setAttribute('height',canvas.naviHeight);
-            canvas.setAttribute('naviHeightDelta',canvas.naviHeight);
-            canvas._conferencemenu.removeAll();
-            canvas._conferencemenu.setAttribute('visibility','hidden');
-        </handler>
-    </netRemoteCallHib>
-    
     <conferenceRoomSidebar name="_sidePanel" />
     
     <view name="_videoviewcontent_hideWhiteboard" y="0" x="${ parent._sidePanel.width }"

Modified: openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/interviewConferenceRoom.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/interviewConferenceRoom.lzx?rev=1653325&r1=1653324&r2=1653325&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/interviewConferenceRoom.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/interviewConferenceRoom.lzx Tue Jan 20 18:17:13 2015
@@ -21,117 +21,14 @@
 <library>
 
 <class name="interviewConferenceRoom" extends="baseConferenceRoom">
-
-    <handler name="oninit">
-    	
-    	if (this.roomobj.hideTopBar == null || !this.roomobj.hideTopBar) {
-            new lz.interviewConferenceMenubar(canvas._conferencemenu);
-            canvas._conferencemenu.setAttribute('visibility','visible');
-        } else {
-            canvas._mainbgcontentNavi.setAttribute('height',0);
-            canvas.setAttribute('naviHeight',0);
-            canvas.setAttribute('naviHeightDelta',0);
-            canvas._conferencemenu.setAttribute('visibility','hidden');
-        }
-        
-        if ($debug) Debug.write("this.roomobj ",this.roomobj);
-        
-        if(this.roomobj.appointment){
-        	canvas.appointmentNotificationPopUp =
-        		new lz.appointmentNotificationPopUp(canvas.conferenceView,{ 
-						name:'appDetail', roomobj:this.roomobj });   
-        } else{
-        	if ($debug) Debug.write("no appointed meeting");
-        }
-        
-        if (this.roomobj.isDemoRoom) {
-            if (this.roomobj.demoTime != null) {
-                if ($debug) Debug.warn("THIS IS A DEMO ROOM THAT SHOULD CLOSE AFTER SEC: ",this.roomobj.demoTime);
-                this.meetingTimer = new lz.meetingTimer(canvas,{refObj:this,roomobj:this.roomobj});
-            }
-        }
-        
-        canvas.currentBaseConferenceRoom = this;
-        
-        canvas.currentRoomObj.hideScreenSharing = true;
-        new lz.moderationPanel(canvas._moderatormenu,{
-                    name:'_moderationPanel',align:'right',
-                    roomName:this.roomobj.name
-                });          
-        
-    </handler>
-    
-    <handler name="ontabcontentleave">
-        if ($debug) Debug.write("################# ontabcontentleave:",this);
-        
-        this._screenSharingAdapter.closeAllScreenSharings();
-        
-        canvas.currentBaseConferenceRoom = null;
-        
-        //reset the right to draw on WHiteboard as the RoomClient Object will be destroyed also
-        //on server-Side the canDraw status will be false again when you relogin the same room
-        canvas.isAllowedToDraw = true;
-        
-        _mainScrollBar.setAttribute("visibility","visible");
-        
-        //reset rights
-        canvas.isAllowedToGiveExclusiveAudio = false;
-        
-        if (canvas._videocontainer!=null){
-	        canvas._videocontainer.resetAllValues();
-	        canvas._videocontainer = null;
-        }
-        if (canvas._chatcontent!=null){
-        	canvas._chatcontent = null;
-        }
-        if (canvas._mymod!=null){
-        	canvas._mymod = null;
-        }
-        
-        if (this.meetingTimer != null) {
-            this.meetingTimer.close();
-        }
-        
-        if (canvas._drawarea.letterObjectIsActive){
-            canvas._drawarea.currentletterObj.destroy();
-        }
-        
-        if (canvas.currentFileExplorer != null) {
-            canvas.currentFileExplorer = null;
-        }
-        
-        if (canvas.currentActivityList != null) {
-        	canvas.currentActivityList = null;
-        }
-        
-        //reset if the user was connected to any slave
-        canvas.isSlaveHosted = false;
-        
-        //@deprecated we will not use old screen sharing implementation
-        //canvas._screens.clearAllSessions();
-        this.logicalRoomLeave.doCall();
-        if ($debug) Debug.write("############ this.logicalRoomLeave ",this.logicalRoomLeave);
-    </handler>
-
-    <netRemoteCallHib name="logicalRoomLeave" funcname="logicalRoomLeave" remotecontext="$once{ canvas.thishib }" >
-        <handler name="ondata" args="value">
-	        if ($debug) Debug.write("############# logicalRoomLeave: ",value);
-	        //this.parent.destroy();
-            canvas.thishib.reconnectAfterRoomleft = true;
-            canvas.thishib.reconnectedRoomInstance = this.parent;
-            
-            // Reconnect User to default Scope
-	        canvas.thishib.userScope = "hibernate";
-	        var src = hib.getUrl();
-	        canvas.thishib.setAttribute('src',src);
-            canvas.thishib.disconnect();
-            canvas._mainbgcontentNavi.setAttribute('height',canvas.naviHeight);
-            canvas.setAttribute('naviHeightDelta',canvas.naviHeight);
-            canvas._conferencemenu.removeAll();
-            canvas._conferencemenu.setAttribute('visibility','hidden');
-        </handler>
-    </netRemoteCallHib>
-    
+	<method name="createMenu">
+		new lz.interviewConferenceMenubar(canvas._conferencemenu);
+	</method>
+	
+	<handler name="oninit">
+		canvas.currentRoomObj.hideScreenSharing = true;
+	</handler>
+	
     <!--
         User Panel and Participants List
      -->

Modified: openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/restrictedConferenceRoom.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/restrictedConferenceRoom.lzx?rev=1653325&r1=1653324&r2=1653325&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/restrictedConferenceRoom.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/restrictedConferenceRoom.lzx Tue Jan 20 18:17:13 2015
@@ -21,110 +21,10 @@
 <library>
 
 <class name="restrictedConferenceRoom" extends="baseConferenceRoom">
+	<method name="createMenu">
+		new lz.restrictedConferenceMenubar(canvas._conferencemenu);
+	</method>
 
-    <handler name="oninit">
-        new lz.restrictedConferenceMenubar(canvas._conferencemenu);
-        
-        new lz.moderationPanel(canvas._conferencemenu,{
-                    name:'_moderationPanel',align:'right',
-                    allowUserQuestions:this.roomobj.allowUserQuestions,
-                    roomName:this.roomobj.name
-                });  
-                
-        canvas._conferencemenu.setAttribute('visibility','visible');
-        
-        if ($debug) Debug.write("this.roomobj ",this.roomobj);
-        
-        if(this.roomobj.appointment){
-            canvas.appointmentNotificationPopUp =
-                new lz.appointmentNotificationPopUp(canvas.conferenceView,{ 
-                        name:'appDetail', roomobj:this.roomobj });   
-        } else{
-            if ($debug) Debug.write("no appointed meeting");
-        }
-        
-        if (this.roomobj.isDemoRoom) {
-            if (this.roomobj.demoTime != null) {
-                if ($debug) Debug.warn("THIS IS A DEMO ROOM THAT SHOULD CLOSE AFTER SEC: ",this.roomobj.demoTime);
-                this.meetingTimer = new lz.meetingTimer(canvas,{refObj:this,roomobj:this.roomobj});
-            }
-        }
-        
-        canvas.currentBaseConferenceRoom = this;
-        canvas._videocontainer.setAttribute("allowUserQuestions",this.roomobj.allowUserQuestions);
-    </handler>
-    
-    <handler name="ontabcontentleave">
-        if ($debug) Debug.write("################# ontabcontentleave:",this);
-        
-        this._screenSharingAdapter.closeAllScreenSharings();
-        
-        canvas.currentBaseConferenceRoom = null;
-        
-        //reset the right to draw on WHiteboard as the RoomClient Object will be destroyed also
-        //on server-Side the canDraw status will be false again when you relogin the same room
-        canvas.isAllowedToDraw = true;
-        
-        _mainScrollBar.setAttribute("visibility","visible");
-        
-        //reset rights
-        canvas.isAllowedToGiveExclusiveAudio = false;
-        
-        if (canvas._videocontainer!=null){
-            canvas._videocontainer.resetAllValues();
-            canvas._videocontainer = null;
-        }
-        if (canvas._chatcontent!=null){
-            canvas._chatcontent = null;
-        }
-        if (canvas._mymod!=null){
-            canvas._mymod = null;
-        }
-        
-        if (this.meetingTimer != null) {
-            this.meetingTimer.close();
-        }
-        
-        if (canvas._drawarea.letterObjectIsActive){
-            canvas._drawarea.currentletterObj.destroy();
-        }
-        
-        if (canvas.currentFileExplorer != null) {
-            canvas.currentFileExplorer = null;
-        }
-        
-        if (canvas.currentActivityList != null) {
-            canvas.currentActivityList = null;
-        }
-        
-        //reset if the user was connected to any slave
-        canvas.isSlaveHosted = false;
-        
-        //@deprecated we will not use old screen sharing implementation
-        //canvas._screens.clearAllSessions();
-        this.logicalRoomLeave.doCall();
-        if ($debug) Debug.write("############ this.logicalRoomLeave ",this.logicalRoomLeave);
-    </handler>
-
-    <netRemoteCallHib name="logicalRoomLeave" funcname="logicalRoomLeave" remotecontext="$once{ canvas.thishib }" >
-        <handler name="ondata" args="value">
-            if ($debug) Debug.write("############# logicalRoomLeave: ",value);
-            //this.parent.destroy();
-            canvas.thishib.reconnectAfterRoomleft = true;
-            canvas.thishib.reconnectedRoomInstance = this.parent;
-            
-            // Reconnect User to default Scope
-            canvas.thishib.userScope = "hibernate";
-            var src = hib.getUrl();
-            canvas.thishib.setAttribute('src',src);
-            canvas.thishib.disconnect();
-            canvas._mainbgcontentNavi.setAttribute('height',canvas.naviHeight);
-            canvas.setAttribute('naviHeightDelta',canvas.naviHeight);
-            canvas._conferencemenu.removeAll();
-            canvas._conferencemenu.setAttribute('visibility','hidden');
-        </handler>
-    </netRemoteCallHib>
-    
     <restrictedRoomSidebar name="_sidePanel" restricted="true" 
                       listType="eventUserListTableWithNames" />