Thanks for the help, stokerpillar. I did what you suggested and there is some improvement. Nothing has changed on subsilver2, but on prosilver, everything in the chat works on the index and the forumview. but the smilies and BBCode buttons still don't work on the viewtopic. Though in prosilver the quick reply now works fine. One odd thing, now on prosilver, while clicking on a smilie or bbcode on viewtopic does not put any code in the Chat, if quick reply is open, it inputs the code into the quick reply posting area.stokerpiller wrote:I bet it is, try with the mchat edit only. Just for testing.
Unfortunately I dont know ow to get them both working.
Code: Select all
//Added by Quick Reply and mChat
var focar = window.in_quick_reply || false;
var mChatFocus = window.mChatFocusFix || false;
if(!focar || !mChatFocus)
{
textarea.focus();
}
baseHeight = doc.selection.createRange().duplicate().boundingHeight;
/* ==== mChat focus fix End ==== */
Thanks for the suggestion, but that didn't change anything. It is still the way it was in my last post, with just the mChat edit in the editor.js.RMcGirr83 wrote:Try
Code: Select all
//Added by Quick Reply and mChat var focar = window.in_quick_reply || false; var mChatFocus = window.mChatFocusFix || false; if(!focar || !mChatFocus) { textarea.focus(); } baseHeight = doc.selection.createRange().duplicate().boundingHeight; /* ==== mChat focus fix End ==== */