Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - RTE FireFox "Error inserting object"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RTE FireFox "Error inserting object"

 Post Reply Post Reply
Author
n7Epsilon View Drop Down
Newbie
Newbie
Avatar

Joined: 20 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote n7Epsilon Quote  Post ReplyReply Direct Link To This Post Topic: RTE FireFox "Error inserting object"
    Posted: 20 August 2006 at 1:02pm
Hi,
I have found a problem on a vanilla installion of Web Wiz Forum version 8.03. This did not occur with RTE version 1 (v7.97).

This problem occurs in FireFox 1.5.0.6 on Windows and happens in this forum too.

If you go to new_topic_form.asp (by creating a new topic) then without clicking on the text-area or entering a subject, insert an emoticon. 1st time it will work but cursor does not appear inside the text-area. Second time an error pops-up: "Error inserting object at current location".

After you click OK on this error and then click inside the text-area (the iframe), you will find the cursor after the 1st image and backspace cannot delete the emoticon that was inserted the 1st time.

This doesn't happen if you click in the text area and type some text first before trying to insert the emoticon.

This also happens (but to a lesser degree) if you press ENTER to make a new line and then try to insert an emoticon twice, (but in this case Backspace successfully deletes the inserted emoticon).

Is there anyway this can be corrected (editing the javascript generated by the RTE_Javascript.ASP file ?) or is there something I am missing ?


Edited by n7Epsilon - 20 August 2006 at 1:09pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2006 at 5:11pm
This is actually a bug within the Gecko (Firefox) RTE API.

The alert box that pop's up saying 'error inserting object in current location' was added to catch this error in the API and prevent the browser from crashing.

Under most circumstances you will never see this message unless you do not first place the cursor in the RTE area, or the cursor fails to return to the RTE area after you insert an object such as an image. Again there is a bug in the Gekco API which means in some circumstances the focus fails to return to the RTE area after an object such as an image is inserted.


Edited by -boRg- - 20 August 2006 at 5:13pm
Back to Top
n7Epsilon View Drop Down
Newbie
Newbie
Avatar

Joined: 20 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote n7Epsilon Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2006 at 10:06pm
Is there a reason backspace (\b) stops working when this happens in the full blown editor (in the post reply page ?)

and 2nd thing, this did not happen at all in version 7.97 (in a site using it) (under the same test conditions), is there a way for me to revert the insert emoticon funtion to the version used in v7.97 or would that be impossible to accomplish ?.

And 3rd, I can't seem to find a link to download the older version of Web Wiz (for investigating this further), is it available from this site ?

Thanks for the information :)


Edited by n7Epsilon - 21 August 2006 at 1:00am
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2006 at 9:20am
In the old 7.97 RTE an execCommand to insert an image was run to insert images in the midas API, but in the new RTE this wasn't possible as alt, etc. tags are also used to fit in with web standards more so a different way of inserting an object is used.

To put back in the old RTE into the new version would take many hours of trial and testing if not weeks.

Old versions are not available as they are not supported.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.