Set default confirmation button label to 'Remove'

Part of: https://fedorahosted.org/freeipa/ticket/5831

Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Pavel Vomacka 2016-06-30 14:34:10 +02:00 committed by Petr Vobornik
parent df56fd3371
commit 2232a5bb09

View File

@ -1677,7 +1677,8 @@ IPA.custom_command_multivalued_widget = function(spec) {
var spec = that.remove_dialog_spec || {
title: title,
message: message,
on_ok: perform_remove
on_ok: perform_remove,
ok_label: '@i18n:buttons.remove'
};
that.remove_dialog = IPA.confirm_dialog(spec);