Skip to content

Instantly share code, notes, and snippets.

@roseleaf
Created April 26, 2013 17:41
Show Gist options
  • Save roseleaf/5468977 to your computer and use it in GitHub Desktop.
Save roseleaf/5468977 to your computer and use it in GitHub Desktop.
Hide Irrelevant Ticket Fields on End User Ticket Page
var ps = $j('.side-box-content').find('p')
for(var i=0; i<ps.length; i ++){
if ($j(ps[i]).text() == "-") {
$j(ps[i]).prev().andSelf().hide();}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment