Page MenuHomePhabricator

Flow: when form can submit, add mw-ui-destructive to its Cancel button
Closed, DeclinedPublic

Description

The same setupEmptyDisabler() code that enables the submit button (e.g. [Reply] turns green) when you enter something in a textarea, should also add mw-ui-destructive to the Cancel button. I.e., the Cancel button should appear red on hover because you'll be losing your entry.

See "Cancel button" discussion on design mailing list.


Version: master
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=62304

Details

Reference
bz62290

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:02 AM
bzimport set Reference to bz62290.
bzimport added a subscriber: Unknown Object (MLST).

No longer relevant. Please file issue against MediaWiki/MediaWiki UI if something is not working correctly.