[svn-commits] trunk r25260 - in /trunk: apps/app_meetme.c static-http/ajamdemo.html

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon May 8 04:11:35 MST 2006


Author: markster
Date: Sat May  6 19:04:12 2006
New Revision: 25260

URL: http://svn.digium.com/view/asterisk?rev=25260&view=rev
Log:
Minor AJAM fixups

Modified:
    trunk/apps/app_meetme.c
    trunk/static-http/ajamdemo.html

Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?rev=25260&r1=25259&r2=25260&view=diff
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Sat May  6 19:04:12 2006
@@ -1,4 +1,3 @@
-
 /*
  * Asterisk -- An open source telephony toolkit.
  *

Modified: trunk/static-http/ajamdemo.html
URL: http://svn.digium.com/view/asterisk/trunk/static-http/ajamdemo.html?rev=25260&r1=25259&r2=25260&view=diff
==============================================================================
--- trunk/static-http/ajamdemo.html (original)
+++ trunk/static-http/ajamdemo.html Sat May  6 19:04:12 2006
@@ -7,7 +7,7 @@
 	var logoffs = new Object;
 	var channels = new Object;
 	var pongs = new Object;
-	var loggedon = 0;
+	var loggedon = -1;
 	var selectedchan = null;
 	var hungupchan = "";
 	var transferedchan = "";
@@ -15,7 +15,7 @@
 	var demo = new Object;
 	
 	function loggedOn() {
-		if (loggedon)
+		if (loggedon == 1)
 			return;
 		loggedon = 1;
 		updateButtons();
@@ -29,7 +29,7 @@
 	}
 
 	function loggedOff() {
-		if (!loggedon)
+		if (loggedon == 0)
 			return;
 		loggedon = 0;
 		selectedchan = null;



More information about the svn-commits mailing list