I have a team that I'd like to use an edit mode embedded in the standard page layout so they can edit only the selected fields. The save button works but loads the whole page inside the embedded VF page, creating a nesting regression. So how to have the save button bring the user back to the proper top lead url?
VF page code:
<apex:page standardController="lead" extensions="LeadEditExtension">
<apex:form >
<apex:pageBlock title="New Accounts" mode="edit" >
<apex:pageBlockButtons >
<apex:commandButton action="{!SaveLead}" value="save"
/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Progress" columns="2">
etc...