The hidden fqdn field in the host adder dialog has been changed to
use a generic widget instead of text widget to avoid null pointer
error since the UI elements are never created.

Ticket #1788

Pushed to master and ipa-2-1 under one-liner/trivial rule.

--
Endi S. Dewata
From 5e7a5bdfa92cd63f96aa1484ba24d7dfc5646664 Mon Sep 17 00:00:00 2001
From: Endi S. Dewata <edew...@redhat.com>
Date: Wed, 14 Sep 2011 18:03:02 -0500
Subject: [PATCH] Fixed problem opening host adder dialog.

The hidden fqdn field in the host adder dialog has been changed to
use a generic widget instead of text widget to avoid null pointer
error since the UI elements are never created.

Ticket #1788
---
 install/ui/host.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/install/ui/host.js b/install/ui/host.js
index 7eb2e98e5235cf73b67ecc2598d794cb23f7ac72..1b11251709f87196829002e323ad408ca5184b21 100644
--- a/install/ui/host.js
+++ b/install/ui/host.js
@@ -121,6 +121,7 @@ IPA.entity_factories.host = function () {
             height: 250,
             fields: [
                 {
+                    factory: IPA.widget,
                     name: 'fqdn',
                     optional: true,
                     hidden: true
-- 
1.7.5.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to