Page MenuHomePhabricator

Don't try to activate disabled items in dropdown menus
ClosedPublic

Authored by epriestley on Oct 14 2013, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 18, 10:47 AM
Unknown Object (File)
Wed, Sep 4, 8:20 AM
Unknown Object (File)
Tue, Sep 3, 6:54 AM
Unknown Object (File)
Aug 19 2024, 2:56 AM
Unknown Object (File)
Aug 17 2024, 4:34 AM
Unknown Object (File)
Aug 15 2024, 5:13 PM
Unknown Object (File)
Aug 3 2024, 8:20 PM
Unknown Object (File)
Aug 3 2024, 8:18 PM
Subscribers

Details

Summary

Fixes an issue where the user could click a disabled dropdown menu item and get an exception or some other nonsense. Instead, just don't activate anything.

Test Plan

Clicked a disabled header, like "Members of project" in the policy dropdown.

Diff Detail

Branch
papply2
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

Although I'm sure your review was exceptionally through, I'll wait for @btrahan to take a look too.