Archived
1
0

update dynamic reply

This commit is contained in:
Jeff Becker 2016-04-30 13:03:18 -04:00
parent 74099cb5f2
commit fffe030fa2
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ DynReply.prototype.setRoot = function(roothash) {
function nntpchan_reply(prefix, parent, shorthash) {
if (prefix && parent) {
var boardname = parent.getAttribute("boardname");
var roothash = parent.getAttribute("roothash");
var roothash = parent.getAttribute("root");
var replyto = getReplyTo();
// set target
replyto.setBoard(boardname);

View File

@ -14,7 +14,7 @@
<span class="subject">{{post.Subject}}</span>
<span class="name">{{post.Name}}</span>
<time datetime="{{post.DateRFC}}">{{post.Date}}</time>
<a href="#" class="postnol">No.</a><a class="postno" onclick="nntpchan_reply('{{post.Prefix}}', this, '{{post.ShortHash}}');" title="{{post.MessageID}}" roothash="{{post.ReferenceHash}}" boardname="{{post.Board}}">{{post.ShortHash}}</a>
<a href="#" class="postnol">No.</a><a class="postno" onclick="nntpchan_reply('{{post.Prefix}}', this, '{{post.ShortHash}}');" title="{{post.MessageID}}" root="{{post.Reference}}" boardname="{{post.Board}}">{{post.ShortHash}}</a>
<a href="{{post.PostURL}}">[{{#i18n.Translations}}{{reply_label}}{{/i18n.Translations}}]</a>
<span class="tripcode">{{{post.Pubkey}}}</span>
</legend>