Decent cross-thread OP quoting.

This commit is contained in:
Nicolas Stepien 2011-05-09 01:12:25 +02:00
parent 5765bbb7f3
commit feb72d4f0e
2 changed files with 4 additions and 2 deletions

View File

@ -1731,7 +1731,8 @@
innerHTML: req.responseText
});
if (id === threadID) {
html = $('blockquote', body).innerHTML;
threading.thread($('form[name=delform] > *:not([id])', body));
html = $('.op', body).innerHTML;
} else {
_ref = $$('td.reply', body);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {

View File

@ -1378,7 +1378,8 @@ quotePreview =
body = $.el 'body',
innerHTML: req.responseText
if id == threadID #OP
html = $('blockquote', body).innerHTML
threading.thread $ 'form[name=delform] > *:not([id])', body
html = $('.op', body).innerHTML
else
for reply in $$ 'td.reply', body
if reply.id == id