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:
parent
15737abd74
commit
a08104a13c
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user