1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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

This commit is contained in:
Andrew Tridgell 2005-08-08 03:21:16 +00:00 committed by Gerald (Jerry) Carter
parent 15737abd74
commit a08104a13c

View File

@ -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);
}
}