SMF Development > Fixed or Bogus Bugs
Problem with post box using opera
Nao 尚:
Try editing editor.js
--- Code: ---// Set the focus for the editing window.
smc_Editor.prototype.setFocus = function(force_both)
{
if (!this.bRichTextEnabled)
this.oTextHandle.focus();
else
this.oFrameWindow.focus();
}
--- End code ---
Replace that block with:
--- Code: ---// Set the focus for the editing window.
smc_Editor.prototype.setFocus = function(force_both)
{
if (!this.bRichTextEnabled)
this.oTextHandle.focus();
else if (is_ff || is_opera)
this.oFrameHandle.focus();
else
this.oFrameWindow.focus();
}
--- End code ---
This is what I committed a couple of weeks ago. Try it if you'd like.
I also fixed more Opera+post editor bugs but it was in other files such as script.js so you'll have to wait for RC4.
Joker™:
implemented the above solution , cleared site and browser caches.
it worked partially fine .
After writing title when i bought my cursor down to postbox area ,
If the cursor is in area of 1-2 line then u can click and focus comes ,
But if u take cursor below that then you can't click .(i don't know how to describe it just want to say that if u take cursor below area of 2 lines then u cant click to get focus on window)
Nao 尚:
I already told you that you can't click on the empty space in the message box. You have to click on the text itself. This is probably a limitation of Opera.
PS: real men use plain text, not Wysiwyg. :P
Joker™:
--- Quote from: Nao on June 11, 2010, 10:36:01 AM ---I already told you that you can't click on the empty space in the message box. You have to click on the text itself. This is probably a limitation of Opera.
--- End quote ---
you mean a buug in opera :o
--- Quote from: Nao on June 11, 2010, 10:36:01 AM ---PS: real men use plain text, not Wysiwyg. :P
--- End quote ---
But as option is available people are going to use it :)
Nao 尚:
--- Quote from: sid2varun on June 11, 2010, 10:38:32 AM ---you mean a buug in opera :o
--- End quote ---
No. A bug is something that is unwanted. This may be due to a combination of Opera working things out differently, and SMF2 being written with Firefox or something else in mind. If it's not tested on all browsers, then it may break on them. IE is full of bugs. Opera is just full of implementation differences. It's still standard.
--- Quote ---But as option is available people are going to use it :)
--- End quote ---
Well... IE users can do all they want.
Real men use Opera, and real men don't use Wysiwyg. My point exactly.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version