summaryrefslogtreecommitdiffstats
path: root/install/ui/field.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/field.js')
-rw-r--r--install/ui/field.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/install/ui/field.js b/install/ui/field.js
index 162ec81b..03401dff 100644
--- a/install/ui/field.js
+++ b/install/ui/field.js
@@ -715,6 +715,14 @@ IPA.link_field = function(spec) {
that.check_entity_link = function() {
+ //In some cases other entity may not be present.
+ //For example when DNS is not configured.
+ if (!that.other_entity) {
+ that.widget.is_link = false;
+ that.widget.update(that.values);
+ return;
+ }
+
IPA.command({
entity: that.other_entity.name,
method: 'show',