summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
authorPetr Voborník <pvoborni@redhat.com>2012-02-09 17:21:09 +0100
committerPetr Vobornik <pvoborni@redhat.com>2012-02-29 12:59:13 +0100
commita1f8c39f88dac7c0999175528d4c1e90a8dd1210 (patch)
tree43733d631c7bf72ee9105190f842d1a210c1ab4a /install/ui/widget.js
parent7c392cb9a85e1534bd1133c4e0c9c3831058b4e7 (diff)
downloadfreeipa.git-a1f8c39f88dac7c0999175528d4c1e90a8dd1210.tar.gz
freeipa.git-a1f8c39f88dac7c0999175528d4c1e90a8dd1210.tar.xz
freeipa.git-a1f8c39f88dac7c0999175528d4c1e90a8dd1210.zip
DNS Zone UI: added new attributes
New attributes were added to DNS zone details facet. Attributes: idnsallowquery idnsallowtransfer idnsforwarders idnsforwardpolicy idnsallowsyncptr New network address validator created for idnsallowquery and idnsallowtransfer attributes. Network address validator also added to dnszone adder dialog - from_ip field. https://fedorahosted.org/freeipa/ticket/2351
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index cc5f4f78..5ce7261e 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -533,10 +533,12 @@ IPA.multivalued_widget = function(spec) {
that.test_dirty_row = function(row) {
- if(row.deleted || row.is_new) return true;
+ if (row.deleted || row.is_new) return true;
var values = row.widget.save();
+ if (row.original_values.length !== values.length) return true;
+
for (var i=0; i<values.length; i++) {
if (values[i] !== row.original_values[i]) {
return true;