In reference to:
http://drupal.org/node/1739940
Enabling Flowplayer seems to remove the legend anchors on the module administration page, thereby making the module categories un-collapsible - module categories won't collapse.
This also causes the module category menu to not work when using the module filter.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | 1743410.patch | 1.72 KB | treksler |
| #7 | 1743410.patch | 410 bytes | robloach |
Comments
Comment #1
michael.k commentedI can confirm that enabling Flowplayer API 7.x-1.0-alpha1 breaks any version of the Module Filter module.
Comment #2
Taxoman commentedThere are also reports about breaking Audio Field.
Not clear if these issues are only with alpha1, or if it also happens with the current -dev version?
(I will test that soon now, have not used this module on D7 yet, so I dont know.)
However, this module should not need to take effect on the admin pages?
Comment #3
mark2741 commentedSame here. Caused Module Filter to no longer function at all. Disabling Flowplayer API module restored the Module Filter module.
Comment #4
artt commentedMy friend Audrey has solved this problem.
Open flowplayer.js.
Insert:
right after this line:
This should solve this problem.
Art
Comment #5
LonitaD commentedI was also having the same problem with module filter. This fix worked for me.
Comment #6
dddbbb commentedThe instructions in #4 also worked for me.
Are there any plans to commit this?
Comment #7
robloach?
Comment #8
webkenny commentedPatch in #7 looks good to me. (Also, Rob, I'm going to be doing a fair amount of work with Flowplayer on a site I'm working on / happy to become a co-maintainer if need be)
Comment #9
treksler commentedi can confirm that flowplayer seems to break all javascript on admin/modules
Comment #10
treksler commentedComment #11
treksler commenteda module should not break core functionality or other modules .. this is a pretty major bug ..
Comment #12
treksler commentedas brought up in #2, the real question for me is why is flowplayer.js getting loaded on admin/modules in the first place
Comment #13
treksler commentedok, xhprof callgraph tells me that theme_flowplayer is called on "admin/modules" page and that it is called from within flowplayer_help
in there i see a switch statement " case 'admin/help#flowplayer':" which does call theme_flowplayer a few times()
if i had to take a guess, the admin/modules page calls the help hook to see if there is any output, so that it knows whether to paint the help button for the module.
That will cause the javascript to be loaded and fail, because obviously we are not actually rendering the help. If true, then this is a really crappy way of doing it, and i would call it a core bug even.
to fix this we could return true early from the switch statement
Comment #14
treksler commentedi would say the patch in #7 and my fix in #13 should both go in to fix this
i would make a patch but don't know how to do it properly for drupal
*ducks*
Comment #15
treksler commentedwell here's a patch anyway, not sure if it is named properly or whatnot..
Comment #16
smira commented#15 patch from treksler isn't necessary stick with #4 solution and #7 patch from artt and RobLoach until a better solution is found...
Comment #17
manooh commented*bump*
anything happening here? Would be great to see this fixed.
Comment #18
Pascal.s commented#4 Works for me