zuul/etc
Timo Tijhof 0445c277eb Status: Don't toggle panel when clicking patch link
Each patchset panel is clickable in its entirety. Clicks anywhere
on the header of the widget propagate to the wrapper element and
result in the panel being toggled.

This works as expected when clicking on non-interactive areas,
such as the title, ETA, background, or progress bar.

However, this doesn't work as expected when clicking on the
Gerrit patch link, which inadvertently also causes the panel
to be toggled.

Add logic to the click event handler to ignore the event if it
bubbled up from an anchor link.

Test Plan:
* http://localhost/zuul/etc/status/public_html/?demo=basic
* Click on a Gerrit patch link (e.g. "10101,1") in a panel.

Previously, it triggers a panel toggle. Now it doesn't.
Clicking elsewhere still toggles the panel.

Cherry-picked from: Ifadf3dfabfc361e1e7d775a62c4c2643b0e2b2c2

Change-Id: Ifadf3dfabfc361e1e7d775a62c4c2643b0e2b2c2
2017-09-19 14:53:02 -04:00
..
status Status: Don't toggle panel when clicking patch link 2017-09-19 14:53:02 -04:00
clonemap.yaml-sample cloner to easily clone dependent repositories 2014-07-29 09:03:59 +00:00
layout.yaml-sample Case sensitive label matching 2017-07-27 07:46:35 +02:00
logging.conf-sample Add sample configs 2012-06-05 14:49:01 -07:00
zuul.conf-sample Add gearman server port configuration 2017-08-29 11:08:39 +00:00