mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Endi S. Dewata
parent
6cdf09812d
commit
e021542120
@@ -181,8 +181,8 @@ IPA.user_adder_dialog = function(spec) {
|
||||
that.validate = function() {
|
||||
var valid = that.dialog_validate();
|
||||
|
||||
var field1 = that.get_field('userpassword');
|
||||
var field2 = that.get_field('userpassword2');
|
||||
var field1 = that.fields.get_field('userpassword');
|
||||
var field2 = that.fields.get_field('userpassword2');
|
||||
|
||||
var password1 = field1.save()[0];
|
||||
var password2 = field2.save()[0];
|
||||
|
||||
Reference in New Issue
Block a user