Open your view in SPD, find these code:
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$XmlDefinition/List/@TemplateType != 301">
<a onfocus="OnLink(this)" href="{$FORM_DISPLAY}&ID={$ID}&ContentTypeID={$thisNode/@ContentTypeId}" onclick="EditLink2(this,{$ViewCounter});return false;" target="_self">
<xsl:call-template name="LinkTitleValue.LinkTitle">
<xsl:with-param name="thisNode" select="$thisNode"/>
<xsl:with-param name="ShowAccessibleIcon" select="$ShowAccessibleIcon"/>
</xsl:call-template>
</a>
</xsl:when>
<xsl:otherwise>
<a onfocus="OnLink(this)" href="{$FORM_DISPLAY}&ID={$ID}" onclick="GoToLink(this);return false;" target="_self">
<xsl:call-template name="LinkTitleValue.LinkTitle">
<xsl:with-param name="thisNode" select="$thisNode"/>
<xsl:with-param name="ShowAccessibleIcon" select="$ShowAccessibleIcon"/>
</xsl:call-template>
</a>
</xsl:otherwise>
change to these code:
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$XmlDefinition/List/@TemplateType != 301">
<a onfocus="OnLink(this)" href="{$FORM_EDIT}&ID={$ID}&ContentTypeID={$thisNode/@ContentTypeId}" onclick="EditLink2(this,{$ViewCounter});return false;" target="_self">
<xsl:call-template name="LinkTitleValue.LinkTitle">
<xsl:with-param name="thisNode" select="$thisNode"/>
<xsl:with-param name="ShowAccessibleIcon" select="$ShowAccessibleIcon"/>
</xsl:call-template>
</a>
</xsl:when>
<xsl:otherwise>
<a onfocus="OnLink(this)" href="{$FORM_EDIT}&ID={$ID}" onclick="GoToLink(this);return false;" target="_self">
<xsl:call-template name="LinkTitleValue.LinkTitle">
<xsl:with-param name="thisNode" select="$thisNode"/>
<xsl:with-param name="ShowAccessibleIcon" select="$ShowAccessibleIcon"/>
</xsl:call-template>
</a>
</xsl:otherwise>
沒有留言:
張貼留言