Last modified: 2014-09-03 15:00:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64290, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62290 - Flow: when form can submit, add mw-ui-destructive to its Cancel button
Flow: when form can submit, add mw-ui-destructive to its Cancel button
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-05 23:51 UTC by spage
Modified: 2014-09-03 15:00 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-03-05 23:51:30 UTC
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.
Comment 1 Jon 2014-09-03 15:00:38 UTC
No longer relevant. Please file issue against MediaWiki/MediaWiki UI if something is not working correctly.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links