Created
May 12, 2020 11:11
-
-
Save vspruyt-sol/f54ca823c2b39a3737fb749ddf69409c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<html> | |
<head> | |
<apex:slds /> | |
<script> | |
handleLoad = () => { | |
const labelArgument = "{!$ObjectType.Sales_Unit__c.labelPlural}"; | |
const deleteConfirmed = confirm(`{!$Label.Confirm_Delete}`); | |
if (deleteConfirmed) { | |
confirmDelete(); | |
} else { | |
cancel(); | |
} | |
} | |
</script> | |
</head> | |
<body onload="handleLoad()"> | |
<div class="slds-scope"> | |
<apex:form id="form"> | |
<apex:pageMessages id="msgId" /> | |
</apex:form> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment