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/js
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
..
application Use EditEngine stacked comments in Diffusion 2017-01-11 14:46:48 -08:00
core Make JX.Tooltip more conservative about positioning 2017-01-05 16:03:25 -08:00
phui Hide dropdown menus when users click workflow items 2017-01-16 13:38:12 -08:00
phuix Restore "Reclaim" and "Abandon" actions to Differential on EditEngine 2016-12-31 10:06:46 -08:00