Last active
August 29, 2015 14:03
-
-
Save nickrange/f1767ed2f0a72af76ef0 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
<cffunction name="onContentEdit"> | |
<cfargument name="$" /> | |
<cfset var scripts = ''> | |
<cfif $.getSubType() Eq 'Vacancy'> | |
<cfsavecontent variable="scripts"> | |
<script> | |
jQuery(document).ready(function($){ | |
var newSummary = 'Vacancy summary ' + '<br /><span style="font-weight:normal">Place the single line vacancy description here, this will be visible in the vacancy search</span>'; | |
$('.summaryContainer label a').html(newSummary); | |
}); | |
</script> | |
</cfsavecontent> | |
</cfif> | |
<cfreturn scripts> | |
</cffunction> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This goes in the eventHandler.cfc file in the theme directory