svn commit: samba r9211 - in branches/SAMBA_4_0/swat/scripting/client: .

tridge at samba.org tridge at samba.org
Mon Aug 8 03:21:16 GMT 2005


Author: tridge
Date: 2005-08-08 03:21:16 +0000 (Mon, 08 Aug 2005)
New Revision: 9211

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9211

Log:
don't try to encode functions in the AJAJ object encoder

Modified:
   branches/SAMBA_4_0/swat/scripting/client/encoder.js


Changeset:
Modified: branches/SAMBA_4_0/swat/scripting/client/encoder.js
===================================================================
--- branches/SAMBA_4_0/swat/scripting/client/encoder.js	2005-08-08 03:20:17 UTC (rev 9210)
+++ branches/SAMBA_4_0/swat/scripting/client/encoder.js	2005-08-08 03:21:16 UTC (rev 9211)
@@ -37,7 +37,7 @@
 			r = r + "" + i + ":" + t + ":" + o[i] + ":";
 		} else if (t == 'undefined' || t == 'null') {
 			r = r + "" + i + ":" + t + ":";
-		} else {
+		} else if (t != 'function') {
 			alert("Unable to encode type " + t);
 		}
 	}



More information about the samba-cvs mailing list