1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-26 22:48:19 +01:00
phorge-phorge/webroot/rsrc/js/application/projects
epriestley 45c3aaeb26 Attempt to make dropdown item actions more consistent
Summary:
See D17210. Currently, this handler needs to be installed on each menu that doesn't build with the default behavior.

Rather than copy-pasting it to the user menu, try to make it a default behavior. This adds a new rule: don't close the menu if the item is a dynamic item built in JS with PHUIXActionView.

This allows dynamic items to control the menu themselves, while giving static items the desired default behavior.

Test Plan:
  - Opened menus on: dashboards, user menu, timeline comments. Clicked stuff. Menus went away.
  - Other menus still seemed to work right: Diffusion, Favorites, mobile menu.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D17222
2017-01-18 13:14:54 -08:00
..
behavior-project-boards.js Attempt to make dropdown item actions more consistent 2017-01-18 13:14:54 -08:00
behavior-project-create.js Allow commits to be associated with projects and associated goodies 2012-08-08 10:03:41 -07:00
behavior-reorder-columns.js Allow the workboard backlog column to be reordered 2014-08-08 15:50:36 -07:00
WorkboardBoard.js Survive receipt of too much workboard column position information 2016-08-14 09:13:08 -07:00
WorkboardCard.js Restore column point counts to workboards 2016-02-10 14:01:28 -08:00
WorkboardColumn.js When summing points on a workboard, display sum with same precision as most-precise value 2016-09-27 09:36:46 -07:00
WorkboardController.js Fix an issue with creating tasks directly into milestone columns 2016-02-11 10:01:49 -08:00