2019-08-14, 05:57 PM
- Select at least one post to quote by just hit
Quote
button in thread #A.
- Hit
Reply
button in another thread such as thread #B
- Under the text box, it should be displaying
You have selected X posts outside of this thread.
, and two clickable linksQuote these posts too
anddeselect these posts
(or their single forms) .
deselect these posts
works, butQuote these posts too
doesn't, click it and get no response.
Quote posts from other threads works in Quick rely. MyBB also has this problem. Is it an abandoned feature, or a bug, or just something I've missed?
I'm using Firefox on Windows.
I didn't look into theme/template and script code, since I think it should also be relating to JavaScript and Ajax that I'm not familiar with. So I'm just asking
PS, why the list mycode has to be changed from
[ol]
to [list]
.. I suspect this problem relates to SCEditor:
TypeError: $(...).sceditor(...).insert is not a function
in posts.js
. I see that quote from other threads works in Quick reply because it use CSS ID selector to get the text box. var id = 'message';
if(typeof $('textarea').sceditor != 'undefined')
{
/* This line causes error, from SCEditor. */
$('textarea').sceditor('instance').insert(json.message);
}
else
{
/* Quick reply use this code. */
if($('#' + id).value)
{
$('#' + id).value += "\n";
}
$('#' + id).val($('#' + id).val() + json.message);
}
$('#multiquote_unloaded').hide();
document.input.quoted_ids.value = 'all';
Best I can do, JSis a trouble to me. There seems to be so many bugs with SCEditor in MyBB. Looking forward to its replacement or upgrade .