From 6d14331a0561e98e4ce8a51bb418c1f6d25b5e88 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 19 Jul 2011 13:46:09 -0500 Subject: 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 --- install/ui/entity.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'install/ui/entity.js') 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; -- cgit