I have a strange issue, basically, I have the following custom action:
<CustomAction
Id="Navigate.DisplayMenu"
Title="Navigate to:"
RegistrationType="ContentType"
RegistrationId="0x010100AEAD1A170E39D343BE3252ECF5B97"
GroupId="ActionsMenu"
Location="DisplayFormToolbar"
Sequence="100">
<UrlAction Url="javascript:window.location='{SiteUrl}/_layouts/Pages/InterPage.aspx?listid={ListId}&itemid={ItemId}&source='+window.location" />
</CustomAction>
Based on content type this custom action appears in DisplayForm, but the problem is when i click it, it does'nt redicrect to another "InterPage.aspx", the page just refreshes and that is it ...
Any idea what the problem could be?
Note: it is for sharepoint 2007
<UrlAction Url="javascript:void(window.location.href='{SiteUrl}/_layouts/Pages/InterPage.aspx?listid={ListId}&itemid={ItemId}&source='+window.location)" />