From e0215421208d853e853f9c7b66add1e145982fbc Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 22 Nov 2011 17:33:09 +0100 Subject: Removing sections as special type of object Sections are changed into pure widget objects. Introduced IPA.composite_widget, basic widget for widget nesting (it's using IPA.widget_container). It's base class for section widgets. TODO: change old custom sections into custom fields and widgets. Note: usage of section in HBAC and SUDO is kept - whole logic will be removed in #1515 patch. https://fedorahosted.org/freeipa/ticket/2040 --- install/ui/service.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/service.js') diff --git a/install/ui/service.js b/install/ui/service.js index 742beef6..806c9395 100644 --- a/install/ui/service.js +++ b/install/ui/service.js @@ -139,15 +139,15 @@ IPA.service_adder_dialog = function(spec) { that.save = function(record) { - var field = that.get_field('service'); + var field = that.fields.get_field('service'); var service = field.save()[0]; - field = that.get_field('host'); + field = that.fields.get_field('host'); var host = field.save()[0]; record['krbprincipalname'] = [ service+'/'+host ]; - field = that.get_field('force'); + field = that.fields.get_field('force'); record['force'] = field.save(); }; -- cgit