summaryrefslogtreecommitdiffstats
path: root/install/ui/entity.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-07-19 13:46:09 -0500
committerAdam Young <ayoung@redhat.com>2011-07-20 13:51:20 -0400
commit6d14331a0561e98e4ce8a51bb418c1f6d25b5e88 (patch)
tree1195cc22de4ae7c5410f7d132023dc5fb7f85cc2 /install/ui/entity.js
parentbc4e97e191f68cdf16e0ef76b218c1f602835c2c (diff)
downloadfreeipa-6d14331a0561e98e4ce8a51bb418c1f6d25b5e88.tar.gz
freeipa-6d14331a0561e98e4ce8a51bb418c1f6d25b5e88.tar.xz
freeipa-6d14331a0561e98e4ce8a51bb418c1f6d25b5e88.zip
Added checkbox to remove hosts from DNS.
A custom deleter dialog for hosts has been added to provide an option whether to remove the hosts from DNS. Ticket #1470
Diffstat (limited to 'install/ui/entity.js')
-rw-r--r--install/ui/entity.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js
index ec0317897..0940c7d17 100644
--- a/install/ui/entity.js
+++ b/install/ui/entity.js
@@ -974,6 +974,13 @@ IPA.entity_builder = function(){
return that.dialog(spec);
};
+ that.deleter_dialog = function(spec) {
+ spec.factory = spec.factory || IPA.search_deleter_dialog;
+ spec.name = spec.name || 'remove';
+
+ return that.dialog(spec);
+ };
+
that.build = function(){
var item = entity;
entity = null;