Page MenuHomePhabricator

Fix the "x" link in tokenizer tokens incorrectly closing dialogs
ClosedPublic

Authored by epriestley on Jun 28 2019, 3:43 PM.
Tags
None
Referenced Files
F14907614: D20623.id49202.diff
Mon, Feb 10, 5:18 AM
F14907610: D20623.id49201.diff
Mon, Feb 10, 5:17 AM
F14907609: D20623.id.diff
Mon, Feb 10, 5:17 AM
Unknown Object (File)
Sun, Feb 2, 4:22 AM
Unknown Object (File)
Tue, Jan 28, 5:18 AM
Unknown Object (File)
Mon, Jan 27, 5:43 PM
Unknown Object (File)
Wed, Jan 22, 2:10 PM
Unknown Object (File)
Wed, Jan 22, 2:06 AM
Subscribers
None
Tokens
"Like" token, awarded by krisbuist.

Details

Summary

See https://discourse.phabricator-community.org/t/removing-tags-or-subscribers-from-a-maniphest-modal-causes-the-modal-to-close/2874.

My Javascript is rusty: '' + null == 'null'. Same for undefined. Use an explicit typecheck instead.

Test Plan

Clicked the "x" in a tokenizer token in a dialog, saw the token removed instead of the dialog closed.

Diff Detail

Repository
rP Phabricator
Branch
href2
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23070
Build 31669: Run Core Tests
Build 31668: arc lint + arc unit