openmeetings-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solo...@apache.org
Subject svn commit: r1445720 - /openmeetings/trunk/singlewebapp/WebContent/swf10/video/baseVideoObject.lzx
Date Wed, 13 Feb 2013 16:40:12 GMT
Author: solomax
Date: Wed Feb 13 16:40:12 2013
New Revision: 1445720

URL: http://svn.apache.org/r1445720
Log:
[OPENMEETINGS-527] fix is applied

Modified:
    openmeetings/trunk/singlewebapp/WebContent/swf10/video/baseVideoObject.lzx

Modified: openmeetings/trunk/singlewebapp/WebContent/swf10/video/baseVideoObject.lzx
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/WebContent/swf10/video/baseVideoObject.lzx?rev=1445720&r1=1445719&r2=1445720&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/WebContent/swf10/video/baseVideoObject.lzx (original)
+++ openmeetings/trunk/singlewebapp/WebContent/swf10/video/baseVideoObject.lzx Wed Feb 13
16:40:12 2013
@@ -37,7 +37,7 @@
 			</passthrough>
 		</when>
 	</switch>
-	
+	 
 	<!--- @keywords private -->
 	<attribute name="chatpartnername" value="" type="string" />
 	<!--- @keywords private -->
@@ -438,7 +438,7 @@
 			<handler name="onclick">
 				<![CDATA[
 			      	if (canvas.ismoderator || canvas.isAllowedToGiveExclusiveAudio) {
-			          	parent.parent.giveExclusiveAudio();
+			          	parent.parent.confirmExclusiveAudio();
 			        } else {
 			        	new lz.labelerrorPopupSWF10(canvas,{errorlabelid:1478});
 			        }
@@ -577,7 +577,7 @@
 		<![CDATA[
 	      	if (canvas.ismoderator || canvas.isAllowedToGiveExclusiveAudio) {
 	      		this._giveExclusiveAudioView._micButton._toolTipTextExclusiveAudio.cleanHolder();
-	          	this.giveExclusiveAudio();
+	          	this.confirmExclusiveAudio();
 	        } else {
 				new lz.labelerrorPopupSWF10(canvas,{errorlabelid:1478});        
 	        }
@@ -607,6 +607,10 @@
     </handler>
 
 	<method name="giveExclusiveAudio">
+		canvas.videoComp_lc.send(canvas.videoComp_lc_name, 'lc_giveExclusiveAudio', this.publicSID);
+	</method>
+
+    <method name="confirmExclusiveAudio">
 		var so:SharedObject = SharedObject.getLocal('userdata');
 		var userData = so.data;
 		var dontShowExclusiveAudioConfirmation = userData["dontShowExclusiveAudioConfirmation"];
@@ -614,7 +618,7 @@
 		exclusiveAudioListener.sendNoConfirmation = function() {};
 		exclusiveAudioListener.sendConfirmation = function(answer, remember) {
 			if (answer) {
-				canvas.videoComp_lc.send(canvas.videoComp_lc_name, 'lc_giveExclusiveAudio', this.publicSID);
+				giveExclusiveAudio();
 				if (remember) {
 					userData["dontShowExclusiveAudioConfirmation"] = true;
 					so.flush();



Mime
View raw message