Update of confirmation of actions

This patch is changing confirmation of actions according to ticket #3035, see the ticket description.

It does following changes:
 * Confirmation of update action was removed.
 * Action lists resets to first action (which is usually a NOP: '-- select action --') on change of displayed entry.
 * New confirmation dialog was implemented. It is used for action confirmation. It is used in IPA.action to replace the call of window.confirm(message). The old call is a modal window which blocks all JS functionality and has different style than other dialogs in Web UI. The new one has same design and doesn't block background operations.

 https://fedorahosted.org/freeipa/ticket/3035
This commit is contained in:
Petr Vobornik
2012-09-03 16:43:13 +02:00
parent a01fbb91e8
commit 835c7859c5
6 changed files with 105 additions and 10 deletions

View File

@@ -626,7 +626,9 @@ class i18n_messages(Command):
"search": {
"delete_confirm": _("Are you sure you want to delete selected entries?"),
"deleted": _("Selected entries were deleted."),
"disable_confirm": _("Are you sure you want to disable selected entries?"),
"disabled": _("${count} items were disabled"),
"enable_confirm": _("Are you sure you want to enable selected entries?"),
"enabled": _("${count} items were enabled"),
"partial_delete": _("Some entries were not deleted"),
"quick_links": _("Quick Links"),