Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salesforceBen/3b61008d94916cb902d06d98ac394926 to your computer and use it in GitHub Desktop.
Save salesforceBen/3b61008d94916cb902d06d98ac394926 to your computer and use it in GitHub Desktop.
<apex:page standardController=”Case” extensions=”DragAndDropController” >
<apex:slds > 
<apex:form > 
<apex:actionFunction name=”redirectToDragAndDropEmailAuthor” action=”{!goToEmailDragAndDrop}” /> 
</apex:form>
</apex:slds>
<script>
document.addEventListener(‘readystatechange’, event => { 
if (event.target.readyState === “interactive”) {
redirectToDragAndDropEmailAuthor();}
});
</script>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment