Hi,
I have a protocol calling a protocol through a javascript function.
This happens more or less like this:
function loadParams() {
/* some code to init fileName */
loadSearch(fileName,launchNewWindow);
}
function launchNewWindow(results) {
if (results) {
doThings
}
}
The protocol function is loadSearch and "callback function gets" is set to "First result file".
When I trigger the protocol for the first time I indeed get into "results" the content of the file filled at the end of my called protocol.
But if I do it again I get once more the same result even I can see that the content of the file in the called protocol has changed.
Is there something I am not doing correctly?
Thanks for your help,
Florent