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
F13366584: D7293.id16448.diff
Wed, Jun 26, 8:46 PM
F13364418: D7293.diff
Wed, Jun 26, 7:33 AM
F13364417: D7293.diff
Wed, Jun 26, 7:33 AM
F13331974: D7293.id.diff
Mon, Jun 17, 8:20 AM
F13331447: D7293.diff
Mon, Jun 17, 6:51 AM
F13321761: D7293.diff
Fri, Jun 14, 7:13 AM
F13286209: D7293.diff
Tue, Jun 4, 6:49 AM
F13273100: D7293.diff
Fri, May 31, 1:34 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

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