Ticket #1962 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Image disappear from image-upload in Opera

Reported by: anon Assigned to: rboren
Priority: high Milestone:
Component: Administration Version: 2.0
Severity: major Keywords: inline-image bg|has-patch
Cc:

Description

When changing from "link to page" to "link to image" and press close, the image disappear from the view in Opera. The image appear again if the "All images" link is pressed, but the option isn't saved.

Attachments

mcepolish.diff (21.1 kB) - added by skeltoac on 12/09/05 19:05:32.

Change History

11/25/05 22:46:13 changed by matt

  • owner changed from anonymous to skeltoac.

11/29/05 00:36:44 changed by matt

  • priority changed from normal to low.

11/29/05 17:49:38 changed by skeltoac

  • status changed from new to closed.
  • resolution set to fixed.

Reworked script in [3225], please reopen if problem persists.

11/30/05 01:14:07 changed by anon

  • status changed from closed to reopened.
  • version changed from 1.6 to 2.0.
  • resolution deleted.

The problem still persists.

11/30/05 06:19:12 changed by skeltoac

Okay, I've installed latest public Opera build and I can confirm the problem. The selected image acts as if display:none; when it is clicked. It restores when Cancel is clicked, unless another option was clicked first.

IMO there's nothing wrong with the script. LouisC, who has access to internal Opera bug reporting tools, has submitted the bug to the Opera team, bug number 188530.

I tried to figure out what attributes are getting fouled by Opera, but I had no luck.

12/09/05 19:05:17 changed by skeltoac

  • keywords changed from inline-image to inline-image bg|has-patch.
  • owner changed from skeltoac to rboren.
  • status changed from reopened to new.
  • severity changed from normal to major.
  • priority changed from low to high.

All right, I've worked around it. The attached patch works nicely in WinIE, FF 1.0.7 and 1.5, Opera 8, and very possibly some other browsers I don't have.

The patch also removes the "You can drag and drop" fallacy and introduces a "Send to Editor" button for each attachment. Works well in RTE and Quicktags mode in the above browsers, plus Safari--can you believe it?! Thanks to masquerade for letting me VNC to his Mac.

Patch also respects unfiltered_html cap for rich editor.

Also adds ability to degrade to Quicktags if tinyMCE was enabled but failed to start.

Also fixes a bug in AjaxCat? that sometimes threw a JS error. (Still should be moved out of admin-header.php!)

12/09/05 19:05:32 changed by skeltoac

  • attachment mcepolish.diff added.

12/09/05 19:24:17 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3283]) MCE fix-em-ups from skeltoac. fixes #1962

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted