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

Command icon 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

baldwinlouie created an issue. See original summary.

baldwinlouie’s picture

Status: Active » Needs review

@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().click to make sure it fires once per click.

yas’s picture

Title: Tertiary navigation arrow unclickable after AJAX refresh of cloud service provider tables » Fix the unclickable tertiary navigation arrow after AJAX refresh of cloud service provider tables
Issue summary: View changes

@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.

yas’s picture

Status: Needs review » Reviewed & tested by the community

  • yas committed 0d240b7a on 5.x authored by baldwinlouie
    Issue #3352542 by baldwinlouie, yas: Fix the unclickable tertiary...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.