I can confirm, have the same problem with Opera 10.0 and Joomla 1.5.14, using TinyMCE
Opera/9.80 (Windows NT 5.1; U; de) Presto/2.2.15 Version/10.00
PHP-Version: 5.2.6-3
Joomla!-Version: Joomla! 1.5.14 Stable [ Wojmamni Ama Naiki ] 30-July-2009 23:00 GMT
Editor - TinyMCE 3 Version 3.2.4.1 2005-2009
Steps to reproduce:* With the specified versions of Opera and Joomla, write (or edit) an article
* click on the "Read more..." button
Actual result:* editing is cancelled (i.e. the content is NOT locked) and I'm sent back to the Frontpage.
NOTE: If the "readmore" line is already present in the article and trying to insert a second one, the expected JS alert about an already existing "readmore" is given.
Expected result:The
Code:
<hr id="system-readmore" />
line should be entered.
Speculation:plugins/editors/tinymce.php only defines a function for
Code:
jInsertEditorText( text, editor ) { ...
but the HTML for the "readmore" button looks like this:
Code:
... onclick="insertReadmore('text') ...
As far as I know, JS does not support overloading of functions, so there actually is no function which only takes one parameter - which would also explain the "WRONG_ARGUMENTS_ERR" that is given by Opera.
I just don't have a clue if that has changed in the last few versions or if Operas JS implementation has changed and I also don't know, if JS has "optional" parameters - in that case, Operas JS implementation might be incorrect...
Best
Martin