thegooglecodearchive / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
Other
0 stars 0 forks source link

Grappelli 2.2 and Firefox 4 - Broken Dropdown Menus #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>> Which DJANGO-VERSION are you using?

1.2.3

>>> Which GRAPPELLI-VERSION are you using?

2.2

>>> Which BROWSER (including the version) are you using?

Firefox 4.0b12

>>> What steps will reproduce the problem?

1. Create a new grappelli admin and open it up in Firefox 4.0
2. Click on the admin dropdown
3. Click on 'change password' or 'logout'

>>> What is the expected output? What do you see instead?

- Expect to follow the link
- Instead, dropdown disappears and the action doesn't register

>>> Please provide any additional information below.

I believe a problem exists in grappelli.min.js:

The line

> handler_parent = that.parents("ul.navigation-menu")[0];

refers to a <ul> that doesn't seem to exist any more. Changing it to

> handler_parent = that.parents("ul#user-tools")[0];

fixed the problem for me.

Original issue reported on code.google.com by voightka...@gmail.com on 10 Mar 2011 at 12:43

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 10 Mar 2011 at 8:40

GoogleCodeExporter commented 9 years ago
same as issue 341

Original comment by volk.p...@gmail.com on 6 May 2011 at 3:31

GoogleCodeExporter commented 9 years ago
updated the tags/releases/2.2. note: sorry, but I didn´t test the fix. rev 
#1441

Original comment by sehmaschine on 28 May 2011 at 7:11