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/automount.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/automount.js') diff --git a/install/ui/automount.js b/install/ui/automount.js index 9c0152ae9..5a92a52ea 100644 --- a/install/ui/automount.js +++ b/install/ui/automount.js @@ -241,9 +241,9 @@ IPA.automountmap_adder_dialog = function(spec) { that.create = function() { that.entity_adder_dialog_create(); - var method_field = that.get_field('method'); + var method_field = that.fields.get_field('method'); var indirect_section = that.get_section('indirect'); - var key_field = that.get_field('key'); + var key_field = that.fields.get_field('key'); var direct_input = $('input[value="add"]', method_field.container); direct_input.change(function() { @@ -267,7 +267,7 @@ IPA.automountmap_adder_dialog = function(spec) { that.reset = function() { that.dialog_reset(); - var method_field = that.get_field('method'); + var method_field = that.fields.get_field('method'); var direct_input = $('input[value="add"]', method_field.container); direct_input.click(); -- cgit