I'm getting an IE error with these lines of code:
<a href="javascript: return false;" onmouseover="window.status='{@EncodedAbsUrl}';
return true" onmouseout="window.status=''; return true"
onclick="javascript:createNewDocumentWithProgID
('{@EncodedAbsUrl}', '', 'SharePoint.OpenDocuments', false);"><xsl:value-of
select="@FileLeafRef" /></a>
Error reads "'return' statement outside of function". (It's non-intrusive - just the yellow triangle in the bottom of the browser window.)
I know very little about javascript, so I'm hesistant to correct. Any thoughts, guys?