mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
additions to patch 118
This commit is contained in:
@@ -88,12 +88,6 @@ function ipa_add_dialog(spec) {
|
||||
that.dialog_init();
|
||||
};
|
||||
|
||||
/* Fields that are not displayed directly, but that are managed by
|
||||
another mechanism, such as the ACI permissions*/
|
||||
that.additional_fields = [];
|
||||
that.additional_field = function(field) {
|
||||
that.additional_fields.push(field);
|
||||
}
|
||||
|
||||
function save_field(field, record, args, options){
|
||||
var pkey_name = IPA.metadata[that.entity_name].primary_key;
|
||||
@@ -114,9 +108,6 @@ function ipa_add_dialog(spec) {
|
||||
for (var i=0; i<that.fields.length; i++) {
|
||||
save_field(that.fields[i], record, args, options);
|
||||
}
|
||||
for (var i=0; i<that.additional_fields.length; i++) {
|
||||
save_field(that.additional_fields[i], record, args, options);
|
||||
}
|
||||
|
||||
ipa_cmd('add', args, options, on_success, on_error, that.entity_name);
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Authors:
|
||||
* Endi Sukma Dewata <edewata@redhat.com>
|
||||
* Adam Young <ayoung@redhat.com>
|
||||
*
|
||||
* Copyright (C) 2010 Red Hat
|
||||
* see file 'COPYING' for use and warranty information
|
||||
|
||||
Reference in New Issue
Block a user