diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-07-02 14:24:21 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-02 14:24:21 -0700 |
commit | 85e677b86fc37c54e6de2b06340351a28f5a5916 (patch) | |
tree | 11148e2c292bd1a43b7cf6c2f5212a6ca8b03e75 /rt/share/html/m/ticket/show | |
parent | e5ab051ccdb7637d8dd2f0ed9b4fe9aaaf1d1100 (diff) | |
parent | 92aedddd3684167abb60cd3f1d77bbc156c592e6 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'rt/share/html/m/ticket/show')
-rw-r--r-- | rt/share/html/m/ticket/show | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rt/share/html/m/ticket/show b/rt/share/html/m/ticket/show index e979da3e6..4190bd349 100644 --- a/rt/share/html/m/ticket/show +++ b/rt/share/html/m/ticket/show @@ -145,18 +145,18 @@ my $print_value = sub { } $m->out('</a>') if defined $linked && length $linked; - # This section automatically populates a<div with the "IncludeContentForValue" for this custom + # This section automatically populates a div with the "IncludeContentForValue" for this custom # field if it's been defined if ( $cf->IncludeContentForValue ) { my $vid = $value->id; $m->out( '<div class="object_cf_value_include" id="object_cf_value_'. $vid .'">' ); $m->print( loc("See also:") ); - $m->out( '<a href="'. $value->IncludeContentForValue .'">' ); - $m->print( $value->IncludeContentForValue ); + $m->out( '<a href="'. $m->interp->apply_escapes($value->IncludeContentForValue, 'h') .'">' ); + $m->out( $m->interp->apply_escapes($value->IncludeContentForValue, 'h') ); $m->out( qq{</a></div>\n} ); - $m->out( qq{<script><!--\nahah('} ); - $m->print( $value->IncludeContentForValue ); - $m->out( qq{', 'object_cf_value_$vid');\n--></script>\n} ); + $m->out( qq{<script><!--\njQuery('#object_cf_value_$vid').load(} ); + $m->out( $m->interp->apply_escapes($value->IncludeContentForValue, 'j') ); + $m->out( qq{);\n--></script>\n} ); } }; |