mirror of
https://github.com/samba-team/samba.git
synced 2025-09-16 01:44:21 +03:00
r9211: don't try to encode functions in the AJAJ object encoder
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
15737abd74
commit
a08104a13c
@@ -37,7 +37,7 @@ function encodeObject(o) {
|
|||||||
r = r + "" + i + ":" + t + ":" + o[i] + ":";
|
r = r + "" + i + ":" + t + ":" + o[i] + ":";
|
||||||
} else if (t == 'undefined' || t == 'null') {
|
} else if (t == 'undefined' || t == 'null') {
|
||||||
r = r + "" + i + ":" + t + ":";
|
r = r + "" + i + ":" + t + ":";
|
||||||
} else {
|
} else if (t != 'function') {
|
||||||
alert("Unable to encode type " + t);
|
alert("Unable to encode type " + t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user