Skip to content

Instantly share code, notes, and snippets.

@nickrange
Last active August 29, 2015 14:03
Show Gist options
  • Save nickrange/f1767ed2f0a72af76ef0 to your computer and use it in GitHub Desktop.
Save nickrange/f1767ed2f0a72af76ef0 to your computer and use it in GitHub Desktop.
<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>
@nickrange
Copy link
Author

This goes in the eventHandler.cfc file in the theme directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment