Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
When I click on "Add Media" two media browsers are being opened on top of each other (see attached screenshot).
This is the URL "http://my-site.com/lt/node/99#overlay=lt/media/browser%3Frender%3Dmedia-...
Site is multilingual, therefore URL has "lt" for one of the languages.
Comment | File | Size | Author |
---|---|---|---|
#7 | media_gallery-double_browser-1939186-3.patch | 940 bytes | jsagotsky |
#2 | media_gallery-double_browser-1939186-2.patch | 1.01 KB | jsagotsky |
2-media-browsers.png | 16.32 KB | gintass |
Comments
Comment #1
sacre-1 CreditAttribution: sacre-1 commentedHello,
I posted a similar issue a few days ago. If you want to take a look at it, here is the link.
Link: http://drupal.org/node/1931838
Comment #2
jsagotsky CreditAttribution: jsagotsky commentedHi. We had that problem too. It's because even though media_gallery is loading its own media browser, it doesn't prevent propagation to the default media browser. While debugging that we also found a problem with once() in the javascript, leading to a class with -processed-processed.
Here's a patch.
Comment #3
sacre-1 CreditAttribution: sacre-1 commentedWow.... thank you, it works!
Comment #4
gintass CreditAttribution: gintass commentedExcellent! Thank you very much! I just hope this patch will be committed to the official module code.
Comment #5
MrPaulDriver CreditAttribution: MrPaulDriver commentedConfirm that this patch works
Comment #6
Bernsch CreditAttribution: Bernsch commentedThe patch in #2 also works in version 7.x-1.0-beta8
Only you must do it manually.
Thanks!
Comment #7
jsagotsky CreditAttribution: jsagotsky commentedI was having trouble applying this in drush make. Removed paths from the patch.
Comment #8
spaxdavis CreditAttribution: spaxdavis commentedHi can somebody please help me. plupload does not appear in media gallery.i cannot upload multiple photos on the "add media" on galleries.
plupload only appears in "add file" i can upload multiple file on my folder.when i use media gaallery "add media" i can see them on the media browser's file/library but i can only submit one by one.i cannot submit many at once.pliz help
media gallery 7.x-2.x
media 7.x-2.x
marinelli 7.x-3.0 beta 11
plupload 7.x-2.x
plupload 1.5.7
Comment #9
Bernsch CreditAttribution: Bernsch commented@Spaxdavis
But this has nothing to do with this topic.
Pleace create a new issues.
Comment #10
attheshow CreditAttribution: attheshow commentedPatch #7 works for me.
Comment #11
nicovangog CreditAttribution: nicovangog commentedHello
Can someone explain to me how I can do the patch. "Media_gallery-double_browser-1939186-2.patch" manual, Copy and Past, what piece of code and in which file. Media 7.x-1.3, Media Gallery 7.x-1.0-beta8.
Thanks!
Comment #12
jsagotsky CreditAttribution: jsagotsky commented@nicovangog,
This should explain it: http://drupal.org/patch/apply
Comment #13
attheshow CreditAttribution: attheshow commented@nicovangog: If you're able to use the patch command from the Terminal, you can use the instructions here: http://drupal.org/patch/apply
If you just feel more comfortable copying and pasting, it actually says the file that's being modified within the code of the patch file (media_gallery.addimage.js). If you look at the far left, look for the lines that have a minus sign (-) beside them. Those are lines that the patch is removing. The lines with a plus sign (+) beside them are the lines that the patch is adding. I hope this helps.
Comment #14
nicovangog CreditAttribution: nicovangog commentedOke, I give myself a little course "patches" with you hints.
Thank you very much!
Comment #15
cmwelding CreditAttribution: cmwelding commentedIn my case the patch worked. Then I applied the recent development update, and did not apply the patch. Now there are two browsers again, but it is workable. The top one has the plupload integration which can be used to upload multiple media. The second browser can be closed once I am done with the first one. This is still a problem and needs to be fixed. I applied above patch later to check but the problem persists even after the patch. Anybody having the same problem?
Comment #16
saltednutI have not been able to reproduce this issue. Can you confirm if it is still happening?
Comment #17
stockliasteroid CreditAttribution: stockliasteroid commentedI still see this on 7.x-1.x-dev.
Edit: patch in #7 fixes the problem for me.
Comment #18
dan@dragonflycanoe.com CreditAttribution: dan@dragonflycanoe.com commentedI am seeing the same problem as #15
Comment #19
saltednutComment #20
lnicks CreditAttribution: lnicks commentedI see the same problem as #15 as well on the 2.x-dev branch. I realize this issue is for the 7.x-1.0-beta8 branch, should a different issue be opened for that?
Comment #21
iknowbryan CreditAttribution: iknowbryan commentedThe patch worked for me on 2.x-dev!
Thanks
-=b=-
Comment #22
Mirabuck CreditAttribution: Mirabuck commentedWorked for me as well with 2.x dev. Seem like a good number of confirmations here. Marking this as RTBC unless there are any objections.
Comment #23
Mirabuck CreditAttribution: Mirabuck commentedWith respect to #15 and #20: until this gets committed, the patch will need to be reapplied whenever you update the module.
Comment #24
saltednuthttp://drupalcode.org/project/media_gallery.git/commit/86e73b0
Comment #26
fenstratIn #24 the patch from #7 was committed to media_gallery-7.x-2.x.
However this bug also effects 7.x-1.x as well. The patch in #7 applies cleanly and fixes the issue, marking as RTBC.
Comment #27
ivnish CreditAttribution: ivnish commentedComment #28
ivnish CreditAttribution: ivnish commented