Edgewall Software

Ticket #6521 (closed defect: wontfix)

Opened 19 months ago

Last modified 8 months ago

put save before cancel in admin forms

Reported by: gsf@… Owned by: cmlenz
Priority: normal Milestone:
Component: admin/web Version: devel
Severity: normal Keywords:
Cc:

Description

The current behavior for many of the forms in WebAdmin is unexpected, at least in Firefox. When one hits the enter key, it cancels instead of submitting because the cancel button comes before the submit button. This patch flips them around.

Attachments

save_cancel.diff Download (2.1 KB) - added by gsf@… 19 months ago.
save before cancel patch
save_cancel_i18n.diff Download (2.4 KB) - added by gsf@… 14 months ago.
new diff to handle i18n changes

Change History

Changed 19 months ago by gsf@…

save before cancel patch

  Changed 19 months ago by gsf@…

Note that this is a patch on core, not the WebAdmin plugin.

follow-up: ↓ 3   Changed 19 months ago by anonymous

Maybe there should also be a reset button, to revert the currently made changes..

in reply to: ↑ 2   Changed 19 months ago by eblot

Replying to anonymous:

Maybe there should also be a reset button, to revert the currently made changes..

I don't think it is worth cluttering the interface with a rarely used function that can be executed anyway with a simple page refresh.

Changed 14 months ago by gsf@…

new diff to handle i18n changes

  Changed 8 months ago by rblank

  • status changed from new to closed
  • resolution set to wontfix

There's a consistency issue here: all forms in Trac have a non-committing action as the default ("Preview" for wiki an ticket, "Cancel" for admin, etc.). This also avoids triggering "dangerous" actions inadvertently with ENTER.

I would say that this is a good thing (tm).

  Changed 8 months ago by gsf@…

I'd say there's a big difference between preview and cancel, and cancel should never be the default action on a form, but I'll leave this at wontfix.

Add/Change #6521 (put save before cancel in admin forms)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.