Skip to content

Instantly share code, notes, and snippets.

@miragedeb
Last active August 29, 2015 14:17
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 miragedeb/d2a358420118df57ed74 to your computer and use it in GitHub Desktop.
Save miragedeb/d2a358420118df57ed74 to your computer and use it in GitHub Desktop.
TaskOpener
<apex:page standardController="QA_Release__c" extensions="TaskOpenerController" showHeader="false" sidebar="false">
<script>
if({!numberOfReleases} >= 1 && {!difference} <=1 ) {
window.open("/apex/QADuplicateAlert?id={!qaId}", "Open Tasks", "width=600, height=400");
}
</script>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment