Problem/Motivation
- After AJAX refreshing a data table (from pagination, or using the
Items per page) such as/clouds/aws_cloud/<cloud_context>/instance, - the down/up arrow does not respond. Subsequently, the tertiary navigation does not expand. A user cannot click on hidden menu items such as Internet gateway, Carrier gateway..etc...
Issue fork rigel-3352542
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
baldwinlouie commented@yas, please review this patch. This fixes the pagination/ajax refresh issue with the tertiary menu. The issue is that the
$('#right-button').click()was firing multiple times, making it seem like the menu is not opening up. I think that is because after each AJAX refresh from pagination, the$('#right-button').click()re-binds agains and starts to fire multiple times.The fix is to add a
$('#right-button').once().clickto make sure it fires once per click.Comment #4
yas@baldwinlouie
Thank you for your superb insight and supplying the great patch. I tested the patch and it fixes the issue. I'll merge the patch to
5.x, and close this issue as Fixed.Comment #5
yasComment #7
yas