I solved the problem!!! The problem was in the js\dnn.xmlhttp.js file. When you expand the tree there's an unsynchronous call to the server. The server should return an HTTP header with a statusCode of 200 if the server succesfuly response.
The funcion is:
dnn_xmlhttp.prototype.XmlHttpRequest.prototype.complete = function (sRes)
{
var sStatusCode = this.getResponseHeader('__DNNCAPISCSI');
if (sStatusCode == '200')
this.successFunc(sRes, this.context);
else
{
var sStatusDesc = this.getResponseHeader('__DNNCAPISCSDI');
if (this.failureFunc != null)
this.failureFunc(sStatusCode + ' - ' + sStatusDesc, this.context);
else
alert(sStatusCode + ' - ' + sStatusDesc);
}
}
The problem was the server succesfuly response the request but it never sent the status code. I changed the function adding a new line:
dnn_xmlhttp.prototype.XmlHttpRequest.prototype.complete = function (sRes)
{
var sStatusCode = this.getResponseHeader('__DNNCAPISCSI');
if (sStatusCode == '') sStatusCode = '200';
if (sStatusCode == '200')
this.successFunc(sRes, this.context);
else
{
var sStatusDesc = this.getResponseHeader('__DNNCAPISCSDI');
if (this.failureFunc != null)
this.failureFunc(sStatusCode + ' - ' + sStatusDesc, this.context);
else
alert(sStatusCode + ' - ' + sStatusDesc);
}
}
And it worked!!!
Sorry for my english, it's not very good. I hope you found this post useful!
Germán