The callServer below works correctly the first time I click the button to invoke it:
var params = new Object();
params.text = noTags;
IWDatacapture.displayMessage("Speech processing.");
IWDatacapture.callServer("
http://tongue.nlm.nih.gov/accent/servlet/art", params, false);
top.hiddenFrameRunning = false;
setTimeout('clearMessage();', 5 * 1000);
}
function clearMessage()
{
IWDatacapture.displayMessage();
}
But I get an error if I click the button to call it again:
Error: Permission denied to get property Window.name
Source File:
http://teamsite.nlm.nih.gov/iw-cc/base/util/urls.jsLine: 446
I have to close the TeamSite edit window and edit the file again before I get it to work again. But only works once.
Any Suggestions?
Thanks.
TeamSite 6.5