1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00
phorge-phorge/webroot/rsrc
epriestley a4a9485612 Hide dropdown menus when users click workflow items
Summary:
In D16157, dropdown menus got an overly-broad check for not closing when an item is clicked.

Specifically, we don't want to close the menu if the item is really opening a submenu, like "Edit Related Objects..." does on mobile.

The check for this is too broad, and also doesn't close the menu if the item has workflow.

Instead, use a narrower check.

Test Plan:
  - Menu still stays open when toggling submenus like "Edit Related Objects".
  - Menu now closes properly when using workflow items like "Edit Comment" or "Remove Comment".

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D17210
2017-01-16 13:38:12 -08:00
..
css Remove collapsable option from ProfileMenu 2017-01-13 15:03:31 -08:00
externals Make project token sorting and normalization a little less hacky 2016-11-17 08:02:23 -08:00
favicons JX.Favicon for Conpherence 2016-10-20 12:17:50 -07:00
image Rebuild lightbox styles 2016-11-12 15:37:16 +00:00
js Hide dropdown menus when users click workflow items 2017-01-16 13:38:12 -08:00