Author: ks156
Date: 2009-02-18 11:40:13 +0100 (Wed, 18 Feb 2009)
New Revision: 3722

Modified:
   software_suite_v2/tuxware/tuxhttpserver/trunk/src/data/js/TuxAPI.js
Log:
* Fixed a bug with the eyes / mouth onDuring and onAsync functions


Modified: software_suite_v2/tuxware/tuxhttpserver/trunk/src/data/js/TuxAPI.js
===================================================================
--- software_suite_v2/tuxware/tuxhttpserver/trunk/src/data/js/TuxAPI.js 
2009-02-17 16:23:33 UTC (rev 3721)
+++ software_suite_v2/tuxware/tuxhttpserver/trunk/src/data/js/TuxAPI.js 
2009-02-18 10:40:13 UTC (rev 3722)
@@ -1758,19 +1758,19 @@
     return this.waitMovingOff( timeout );
   },
 
-  this.onAsync = function(){
+  this.onAsync = function( aCount, aFinalState ){
     return self.server.request( aName, 'on' , { 'count':aCount, 
'final_state':aFinalState }, {}, {} );
   },
 
   this.onDuring = function( aDuration, aFinalState){
-    if (!this.onDuringAsync( aCount, aFinalState ) ) return false;
+    if (!this.onDuringAsync( aDuration, aFinalState ) ) return false;
     if (self.server.getClientLevel() == CLIENT_LEVEL_ANONYME) return true;
     return true;
     //_eventHandlers.waitCondition();
     return true;
   },
 
-  this.onDuringAsync = function(){
+  this.onDuringAsync = function( aDuration, aFinalState ){
     return self.server.request( aName, 'on_during' , { 'duration':aDuration, 
'final_state':aFinalState }, {}, {} );
   },
 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to