<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 08/08/2011 05:13 PM, Endi Sukma Dewata wrote:
    <blockquote cite="mid:4E405163.4070702@redhat.com" type="cite">The
      host adder dialog has been modified to use separate fields for
      <br>
      hostname and DNS zone. The hostname is a text field and the DNS
      zone
      <br>
      is an editable drop-down list. The fields will have the following
      <br>
      behavior:
      <br>
      <br>
       - If the user types a dot into the hostname field, the cursor
      will
      <br>
         automatically move into the DNS zone field.
      <br>
       - If the user pastes an FQDN into the hostname field, the value
      will
      <br>
         automatically be split into hostname and DNS zone.
      <br>
       - If the user selects a value from the drop-down list, it will
      only
      <br>
         change the DNS zone, not the hostname.
      <br>
      <br>
      Ticket #1457
      <br>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
    </blockquote>
    The JQuery code drawing the table in the create method is
    cut-and-paste..  It should be possible to make it look right without
    redrawing the whole table.  <br>
    <br>
    These two fields should be put into their own section, which can
    then be responsible for drawing just the rows responsible for these
    fields, leaving the default behavior for the other rows.<br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>