hi Roger,
can you please try the following:
1) in your webelements functions > Other directory, right click on the WEAutoRefresh function and choose to disconnect it from the repository (if it's not already disconnected)
2) replace the code with the code at the very bottom of this reply
3) save the function and also save it to your repository so that it doesn't get overwritten with the older code
4) change your formula so that it does not use a target / path...i.e. it's just something like
WEAutoRefresh(15,'')
here's the code below...
// WEAutoRefresh 4.0 last revision December 22, 2011 by Arefe Dalvandi
Function (numbervar RefreshInterval, stringvar path)
stringvar output; numbervar platformnum:= WEPlatform;
RefreshInterval := RefreshInterval*1000;
output:= output +WEWindowUtilities();
output := output+
'<script>'+
'var wprops=""; var wname="";'+
(if instr(path, "weIframe") > 0 then
'function refreshIframe(){'+
'getTarWin('+chr(39)+path+chr(39)+',wname,wprops); '+
'setTimeout("refreshIframe()", '+ totext(RefreshInterval, "0", 0)+');}'+
'setTimeout("refreshIframe()", '+ totext(RefreshInterval, "0", 0)+')'
else
'setTimeout("getTarWin('+chr(39)+path+chr(39)+',wname,wprops)", '+ totext(RefreshInterval, "0", 0)+'); ')+
'</script>';