diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-09-27 09:28:14 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-10-05 14:51:50 +0200 |
commit | fe8aeef30773739fe7b17e3c152be5ce858ef9f6 (patch) | |
tree | c56212d6214a62f3fb81114e0bb77fac4b10d552 /install/ui/dns.js | |
parent | f93d71409aa78c4e5c860405cdcc3bc6ffc49280 (diff) | |
download | freeipa-fe8aeef30773739fe7b17e3c152be5ce858ef9f6.tar.gz freeipa-fe8aeef30773739fe7b17e3c152be5ce858ef9f6.tar.xz freeipa-fe8aeef30773739fe7b17e3c152be5ce858ef9f6.zip |
Added confirmation when adding multiple entries.
The adder dialog has been modified to show a confirmation message
after each successful addition.
Ticket #1786
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r-- | install/ui/dns.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js index ea09e227c..60505d999 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -231,6 +231,9 @@ IPA.dnszone_details_facet = function(spec) { return that; }; +// TODO: Remove the custom create() by moving the fields into sections. +// The idnsname and name_from_ip should be moved into a custom section. +// The idnssoamname, idnssoarname, and force into a standard section. IPA.dnszone_adder_dialog = function(spec) { spec = spec || {}; @@ -241,6 +244,11 @@ IPA.dnszone_adder_dialog = function(spec) { that.container.addClass('dnszone-adder-dialog'); + that.message_container = $('<div/>', { + style: 'display: none', + 'class': 'dialog-message ui-state-highlight ui-corner-all' + }).appendTo(that.container); + var table = $('<table/>').appendTo(that.container); var field = that.get_field('idnsname'); |