tuandv
unread,Jan 4, 2011, 10:22:59 PM1/4/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jsTree
I got this error at callback.call(null,
xm.transformNode(xs.XMLDocument)); in the setTimeout function.
setTimeout( (function (xm, xs, callback) {
return function () {
callback.call(null, xm.transformNode(xs.XMLDocument));
setTimeout( (function (xm, xs) { return function ()
{ jQuery("body").remove(xm).remove(xs); }; })(xm, xs), 200);
};
}) (xm, xs, callback), 100);
When I debug code, I see that xs.XMLDocument is undefined, but before
calling this method I see that this object is already prepared, I
don't know why, maybe we need delay for a while after create xs
object???
So easy to duplicate this error, the first load is always ok, and then
press F5 to refresh the page, we will get this error.