Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After upgrading Drupal + Media module the widget is behaving oddly. See screenshot.
Comment | File | Size | Author |
---|---|---|---|
#18 | 2032255-media-file-selector-17.patch | 908 bytes | JeromeChance |
#12 | media-media-file-selector-2032255-12.patch | 960 bytes | markhalliwell |
#7 | media-media-file-selector-2032255-7.patch | 978 bytes | markhalliwell |
#5 | 2032255-4-media-widget-window-sizing.patch | 604 bytes | randallknutson |
media_browsser_sizing.png | 44.58 KB | allard.schipper |
Comments
Comment #1
gmclelland CreditAttribution: gmclelland commentedCan you provide more details? what OS, browser, theme?
I'm not experiencing this with the latest devs. Maybe you should try those and see if it is fixed?
Comment #2
jdidelet CreditAttribution: jdidelet commentedSame problem. Tested on Firefox, Chrome on Linux and Mac. Seems to have problem on the js file on the div with the classes "ui-dialog ui-widget ui-widget-content ui-corner-all media-wrapper". The position left and top is set to 0.
And the the iframe #mediaBrowser don't fit properly his parent's div.
Comment #3
jdidelet CreditAttribution: jdidelet commentedOk the problems seems to come with jquery version. I'm using jquery_update module to update jquery version to 1.8 and this bug appear. With jquery version 1.5 or 1.7, I don't have this bug.
Comment #4
randallknutson CreditAttribution: randallknutson commentedI think this has to do with this change to jquery ui tabs: http://jqueryui.com/upgrade-guide/1.9/#deprecated-show-event-renamed-to-...
When I change line 28 of media.browser.js to activate instead of show it seems to work again.
Comment #5
randallknutson CreditAttribution: randallknutson commentedHere is a patch that supports both versions of jquery ui.
Comment #7
markhalliwellReroll patch?
Comment #9
markhalliwellAh, changing the version to test against.
Comment #10
markhalliwell#7: media-media-file-selector-2032255-7.patch queued for re-testing.
Comment #11
HaloFX CreditAttribution: HaloFX commentedUnable to able patch.
> error: patch failed: js/media.browser.js:25
> error: js/media.browser.js: patch does not apply
Comment #12
markhalliwellReroll
Comment #13
markhalliwellAlso bumping this to crit because it makes this module seemingly completely unusable if using jQuery UI 1.9+
Comment #14
aaron CreditAttribution: aaron commentedThis works for me.
Comment #15
ianthomas_ukMarked https://drupal.org/node/1957812 as a duplicate of this, which contained an almost identical patch by OnkelTem
Comment #16
Dave ReidCommitted #12 to 7.x-2.x. http://drupalcode.org/project/media.git/commit/e2625ed
Comment #18
JeromeChance CreditAttribution: JeromeChance commentedSlight tweak to patch #12. Note this is from a different commit hash (9583d89). Not from HEAD. I needed this for a very specific edge case. --DO NOT USE.