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/group.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/group.js') diff --git a/install/ui/group.js b/install/ui/group.js index 305fb400..c137a3d2 100644 --- a/install/ui/group.js +++ b/install/ui/group.js @@ -150,13 +150,13 @@ IPA.group_adder_dialog = function(spec) { var init = function() { - var posix_field = that.get_field('nonposix'); + var posix_field = that.fields.get_field('nonposix'); posix_field.value_changed.attach(that.on_posix_change); }; that.on_posix_change = function (value) { - var gid_field = that.get_field('gidnumber'); + var gid_field = that.fields.get_field('gidnumber'); if(value) { gid_field.reset(); } -- cgit