Ticket #1682 (closed Bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Problem editing control elements in Firefox, Safari, Opera

Reported by: sojweb Owned by: martinkou
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: FCKeditor 2.5
Keywords: Confirmed FF Opera Safari Review+ Cc:

Description (last modified by fredck) (diff)

When you insert a control element and try to edit it, it's current information is not displayed. However, whatever you type in will be properly put into the element you're editing.

  1. Go here:  http://www.fckeditor.net/demo
  2. Insert a radio button, checkbox or button
  3. Select the button and try to edit it, it won't get the current information (name, text, selected) for the element
  4. If you click 'OK', it will change the current button whatever you've specified

There seems to be a problem with the getSelection() function somehow; in the pop-up window, FCKSelection.GetSelectedElement() returns a null.

IE 6 and IE 7 don't seem to have the problem, but the following do:

  • Safari 3.0.4
  • Firefox 2.0.0.11
  • Opera 9.5 (build 9613)

Attachments

1682.patch Download (2.3 KB) - added by martinkou 2 years ago.

Change History

Changed 2 years ago by alfonsoml

  • keywords Firefox, Opera, Safari added; control element, firefox, opera, safari removed

This is probably the same problem that #1753

Changed 2 years ago by fredck

  • description modified (diff)

Changed 2 years ago by martinkou

  • keywords Confirmed FF Opera added; Firefox, Opera, removed
  • owner set to martinkou
  • status changed from new to assigned
  • milestone set to FCKeditor 2.6

Targeting to 2.6 since this is related to some other 2.6 tickets (e.g. #738) and is in itself quite severe.

Changed 2 years ago by martinkou

Changed 2 years ago by martinkou

  • keywords Review? added

Changed 2 years ago by martinkou

The submitted patch fixes #1753 as well.

Changed 2 years ago by fredck

  • keywords Review+ added; Review? removed

Good job Martin ;)

Changed 2 years ago by martinkou

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [1501].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.