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.
I am using Tinynav.js for mobile view in my site and I am facing a small issue in the same. When any user makes an ajax call on the page, the menu gets duplicated ie on each ajax call, number of menu bar is increased by one.
Comment | File | Size | Author |
---|---|---|---|
#12 | tinynav-menu-duplication-1967636-12-D7.patch | 833 bytes | mike.roberts |
Comments
Comment #1
btopro CreditAttribution: btopro commentedhmm... that's odd... Can you do me a favor and try to use 1.1 and see if the issue is still there? There was a rewrite of the way tinynav is applied to use Drupal behaviors which could cause something like this. Also, are you using the library version or the built in one? Try using the built in one.
Comment #2
teami CreditAttribution: teami commentedWe tried using 1.1 and it worked for us. The problem doesn't seem to persist in Tinynav 1.1 for drupal.
Comment #3
carsonwI'm facing the same issue with 7.x-1.2, especially with draggable views. Every time I try and drag a row in a draggable views table, tinynav creates a new instance of the menu.
Comment #4
vinmay CreditAttribution: vinmay commented@casrow : Did you try to downgrade and try 1.1 ? I think you should give it a try...!!
Comment #5
vinmay CreditAttribution: vinmay commented@carsonw : Did you try to downgrade and try 1.1 ? I think you should give it a try...!!
Comment #6
jackhutton CreditAttribution: jackhutton commentedI was experiencing duplicate menu items and an initial 'error' menu item with the version 7.x-1.2 .. made sure i had the most recent library files ..and finally went back down to the 1.1 version which performs as expected. 1.2 is offering weirdness.
thanks for this..
Love to see a version of your responsive nav ? thx.
Comment #7
btopro CreditAttribution: btopro commentedhmm... sounds like the 1.2 may need to be dropped and a 1.3 rolled that is basically a republish of 1.1 since we can't retract it. 1.2 was supposed to have better ajax support but sounds from reports like it's causing more issues then it solved.
Comment #8
jackhutton CreditAttribution: jackhutton commentedIt is interesting.. I stayed with the 1.2 for quite a bit trying to make it work. I'm not a coder..
but seeing this post..going back, alleviated the headache.
thanks for reviewing it.
and
any plans to for module integration of the responsivenavjs menu ? http://responsive-nav.com/
again. Thanks.
Comment #9
jackhutton CreditAttribution: jackhutton commentedI'm having the same issue as https://drupal.org/node/1992816 - Shows FALSE or TRUE as first item..
with verson 1.1 now.. not sure how to address this.
hopeful there a version .3 coming out.. and the 'responsive nav' ..
I'll keep working on this..
thank you
Comment #10
jackhutton CreditAttribution: jackhutton commentedJust saw this.. https://drupal.org/project/responsive_navigation "Responsive Nav js" Nice.. I'll check this out.. thank you
Comment #11
hass CreditAttribution: hass commented@jackhutton: #1992816: Shows FALSE or TRUE as first item
Comment #12
mike.roberts CreditAttribution: mike.roberts commentedFor those of you who were having the issues with menu duplication, can you try this patch?
Comment #13
mike.roberts CreditAttribution: mike.roberts commentedComment #14
btopro CreditAttribution: btopro commentedunable to duplicate issue personally but that patch makes sense since I believe ajax'ed code should be providing a new context which it won't find matches within.
Comment #15
psychobyte CreditAttribution: psychobyte commentedI had the same issue w/ tinynav 7-1.3 while using panels_ajax_tab and quicktabs. The patch works! Thanks!
Comment #16
btopro CreditAttribution: btopro commentedThanks for verification. committed.