summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-05-14 08:40:41 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-06-04 11:25:45 +0200
commit870627de9a6bf0d0731843ea3305aad3a739cac4 (patch)
treecbe61c0cf6959adada5286570e318a8cd23a4637
parentbf9234dbd1911a6e720470844ad053053144cc45 (diff)
downloadfreeipa-870627de9a6bf0d0731843ea3305aad3a739cac4.tar.gz
freeipa-870627de9a6bf0d0731843ea3305aad3a739cac4.tar.xz
freeipa-870627de9a6bf0d0731843ea3305aad3a739cac4.zip
Added cancel button to service unprovision dialog
Service unprovision dialog was missing a cancel button. The button was added. https://fedorahosted.org/freeipa/ticket/1811
-rw-r--r--install/ui/service.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/install/ui/service.js b/install/ui/service.js
index c86a6d05d..129f166a3 100644
--- a/install/ui/service.js
+++ b/install/ui/service.js
@@ -314,6 +314,14 @@ IPA.service_provisioning_status_widget = function (spec) {
}
});
+ dialog.create_button({
+ name: 'cancel',
+ label: IPA.messages.buttons.cancel,
+ click: function() {
+ dialog.close();
+ }
+ });
+
dialog.open(that.container);
return false;