From 390d017e321fd5ed56af094cf1f1c74f64e95735 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Sat, 10 Sep 2011 11:54:02 -0500 Subject: Modified dialog to use sections. The IPA.dialog has been modified to store sections instead of fields. If there is no sections specified, it will create a default section. The adder dialog for automount map has been modified such that the fields related to indirect map are stored in a section which will only be visible when the map type is set to indirect. The adder dialog for host has been modified such that it uses a custom section for hostname and DNS zone and standard section for the other fields. Ticket #1394 --- install/ui/entitle.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install/ui/entitle.js') diff --git a/install/ui/entitle.js b/install/ui/entitle.js index 2687f6f9..693206cb 100644 --- a/install/ui/entitle.js +++ b/install/ui/entitle.js @@ -580,9 +580,9 @@ IPA.entitle.register_online_dialog = function(spec) { that.save(record); that.entity.register_online( - record.username, - record.password, - record.ipaentitlementid, + record.username[0], + record.password[0], + record.ipaentitlementid[0], function() { var facet = that.entity.get_facet(); facet.refresh(); @@ -638,7 +638,7 @@ IPA.entitle.consume_dialog = function(spec) { that.save(record); that.entity.consume( - record.quantity, + record.quantity[0], function() { var facet = that.entity.get_facet(); facet.refresh(); -- cgit