I've added the ; to the code, but strictly speaking it's not necessary unless there is more JavaScript on the button.
If you want to try the fix there though, open your \libsrc\netweb.clw file, look for Window.Open, and change it to be the following;
!------------------------------------------------------------------------------
NetWebServerWorker.WindowOpen Procedure(string pUrl, <String pTarget>)
code
if lower(sub(pUrl,1,6)) = 'mailto'
return 'window.open(''' & clip(pUrl) & ''',''_self'');'
elsif omitted(3) or ptarget = '' or ptarget = '''''''' or ptarget = '_self'
return 'location.href=' & self._MakeURL(pUrl)
else
return 'window.open(''' & self._MakeURL(pUrl) & ''',''' & clip(pTarget) & ''');'
end
notice the <> turning into = on the line after code, and also the two "return" lines
that end in ;
cheers
Bruce