{$comment_onchange}?

Discussion corner for Developers of Serendipity.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

{$comment_onchange}?

Post by yellowled »

I'm working on replacing inline JS in templates by jQuery substitutes. I'm stuck at this one (comments.tpl):

Code: Select all

<a class="comment_reply" href="#serendipity_CommentForm" id="serendipity_reply_{$comment.id}" onclick="document.getElementById('serendipity_replyTo').value='{$comment.id}'; {$comment_onchange}">{$CONST.REPLY}</a>
<div id="serendipity_replyform_{$comment.id}"></div>
Most of it I get, but what is {$comment_onchange}? What does it do? I grepped over all files in include/, but I didn't find a hint …

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: {$comment_onchange}?

Post by Timbalu »

Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: {$comment_onchange}?

Post by yellowled »

Timbalu wrote:remember this? :wink:
Obviously not. :wink: Thanks.

YL
Post Reply