Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vspruyt-sol/f54ca823c2b39a3737fb749ddf69409c to your computer and use it in GitHub Desktop.
Save vspruyt-sol/f54ca823c2b39a3737fb749ddf69409c to your computer and use it in GitHub Desktop.
<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