| Issue 436: | ReloadChildren with callback doesn't work. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. I am adding a node to the tree.
2. As all the nodes are LazyNodes, I am calling to an ajax request to display the new node.
3. When I am reloading the node (reloadChildren) , I would like to use the callback function, but it doesn't fire it...
4. In the example below, I would like to display a console log of the node, but I don't get anything.
5. The application goes to the success (checked with console log to see result).
$.ajax( {
type: "POST",
url: application.applicationBaseUrl + url + "/relationships/Subnets",
contentType: "application/json",
dataType: "json",
success: function( response ) {
console.log (response);
activeNode.reloadChildren(function(this, isOk){
console.log("Node " + node + " could not be reloaded.");
});
}
What am I doing wrong?
May 1, 2014
Project Member
#1
moo...@wwwendt.de
Status:
WontFix
May 2, 2014
Cleanup Scrumboard
Labels:
Milestone-Release2.0
|