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
Unknown Object (File)
Sat, May 10, 7:12 AM
Unknown Object (File)
Sun, Apr 27, 2:18 AM
Unknown Object (File)
Thu, Apr 24, 2:46 AM
Unknown Object (File)
Tue, Apr 22, 2:59 PM
Unknown Object (File)
Sun, Apr 20, 8:00 PM
Unknown Object (File)
Thu, Apr 17, 8:53 PM
Unknown Object (File)
Wed, Apr 16, 8:05 PM
Unknown Object (File)
Apr 1 2025, 10:48 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable