Created
July 1, 2020 22:14
-
-
Save salesforceBen/3b61008d94916cb902d06d98ac394926 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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