summaryrefslogtreecommitdiffstats
path: root/install/ui/dns.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r--install/ui/dns.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js
index 7b436c72..83934516 100644
--- a/install/ui/dns.js
+++ b/install/ui/dns.js
@@ -33,6 +33,13 @@ IPA.dns.config_entity = function(spec) {
var that = IPA.entity(spec);
that.init = function() {
+
+ if (!IPA.dns_enabled) {
+ throw {
+ expected: true
+ };
+ }
+
that.entity_init();
that.builder.details_facet({