git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b31c6d
)
r9211: don't try to encode functions in the AJAJ object encoder
author
Andrew Tridgell
<tridge@samba.org>
Mon, 8 Aug 2005 03:21:16 +0000
(
03:21
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:31:31 +0000
(13:31 -0500)
(This used to be commit
a08104a13c722b3888aecd365e32aae63ea481e5
)
swat/scripting/client/encoder.js
patch
|
blob
|
history
diff --git
a/swat/scripting/client/encoder.js
b/swat/scripting/client/encoder.js
index 20eec9e2c35cc328e1354ac1d532bb9e2b7b019b..2b1db669d288375dd6b481633a5d2549cf54aad5 100644
(file)
--- a/
swat/scripting/client/encoder.js
+++ b/
swat/scripting/client/encoder.js
@@
-37,7
+37,7
@@
function encodeObject(o) {
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);
}
}