I don't know whether this is a Media, Media Gallery or Chaos Tools issue.

Description:
With Clean URLs activated the normal Media Upload window (screenshot) appears additional to a second Media Browser window. If I click on "Abbrechen" (cancel) in the Media Browser the standard Media Upload window becomes visible.
If I click the x in the top right corner, the overlay disappears without reloading the page. If "Abbrechen" (cancel) is selected, the page takes me to the Homepage (starting page).
This problem disappears with deactivated Clean URLs. I was able to reproduce this error with a clean version of Drupal 7.20.

Modules:

  • Media - 7.x-2.0-unstable7+25-dev
  • Media Gallery - 7.x-2.x-dev
  • File Entity - 7.x-2.0-unstable7+39-dev
  • Chaos tools - 7.x-1.2+44-dev
  • Views - 7.x-3.5
  • Colorbox - 7.x-2.3
  • Libraries - 7.x-2.0

Comments

Rasti’s picture

I have same exact issue..

Moloc’s picture

Issue summary:View changes
Related issues:+#1939186: Two media browsers

This issue is fixed for 7.x-2.x, but not for 7.x-1.x
The solution, which was commited in ##1939186 added a javascript to avoid propagating the click event.

The real issue for this problem seems to be a change in the media module. See #1535940
The fix in this case was to add the path media/browser as an admin path.

When the overlay module is activated, it opens any admin path in an overlay by listening on the click event. To prevent loading it in the overlay, we can simply add a css-class "overlay-exclude".

Moloc’s picture

Status:Active» Needs review
StatusFileSize
new674 bytes

  • Moloc committed f9de93a on 7.x-1.x
    Issue #1931838 by Moloc: Activated Clean URLs cause double Upload Window
    
Moloc’s picture

Status:Needs review» Fixed

Commited to both branches.

  • Moloc committed f7c60f0 on 7.x-2.x
    Issue #1931838 by Moloc: Activated Clean URLs cause double Upload Window
    
Moloc’s picture

Status:Needs review» Fixed

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.