The following status message shows up (see screenshot) but I cannot close it without page refresh.
Also I am getting error message in javascript console "ok is undefined (sites/all/modules/media/js/media.popups.js?v=7.x line 105)".
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1364640.media_popup_js.3.patch | 648 bytes | katbailey |
| #1 | quickfix.patch | 566 bytes | chi |
| media.png | 24.65 KB | chi |
Comments
Comment #1
chi commentedComment #2
adamgerthel commentedI'm having the exact same problem using the latest unstable version (2012-Jan-13). It works flawlessly using english, but not any other language.
Update: Patch didn't do anything to help
Comment #3
katbailey commentedHere's a slightly modified version of the patch which is more consistent with the use of Drupal.t elsewhere in the code (i.e. checking that it's there first, though I'm not sure how necessary that really is).
Steps to reproduce the problem:
This is because Drupal.t is used when assigning the 'OK' property, but not when accessing it.
@AdamGerthal did you clear your browser cache and ensure you had the altered version of media.popups.js when you tested this?
Comment #4
adamgerthel commentedYou were right, clearing the cache fixed it. The patch works
Comment #5
dddave commentedUnless someone can point out wrongful coding this patch works exactly as advertised and solves this borderline critical bug. Thanks!
Comment #6
max_d commentedpatch #3 successfully fixes the exact problem in media 7.x-1.1
Comment #7
prins310 commentedPatch #3 successfully fixed this problem in media 7.x-1.1 for me as well. Many thanks!!
Comment #8
dave reidThanks, committed #3 to Git.
http://drupalcode.org/project/media.git/commit/423861a (7.x-2.x)
http://drupalcode.org/project/media.git/commit/6c15ed2 (7.x-1.x)
Comment #10
alibama commentedconfirming that the latest 7.x-2.x branch does not work on mac chrome or safari - updated database, cleared cache multiple times, restarted browsers... tried adding media_browser_plus to see whether that might do anything useful... no such luck... this is pretty critical
Comment #11
dave reidPlease file a new issue with exactly what's going wrong, rather than re-opening an issue that's been closed for a year.