mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Updated add and delete association dialog titles.
The association table widget and facet have been modified to accept titles for the add and delete dialogs. The table and facet definitions have been modified to specify the appropriate titles. Some unused code have been removed. Ticket #1629
This commit is contained in:
@@ -73,8 +73,9 @@ IPA.entity_factories.host = function () {
|
||||
]
|
||||
}]}).
|
||||
association_facet({
|
||||
factory: IPA.host_managedby_host_facet,
|
||||
name: 'managedby_host'
|
||||
name: 'managedby_host',
|
||||
add_method: 'add_managedby',
|
||||
remove_method: 'remove_managedby'
|
||||
}).
|
||||
association_facet({
|
||||
name: 'memberof_hostgroup',
|
||||
@@ -622,21 +623,3 @@ IPA.host_certificate_status_widget = function (spec) {
|
||||
|
||||
return that;
|
||||
};
|
||||
|
||||
IPA.host_managedby_host_facet = function (spec) {
|
||||
|
||||
spec = spec || {};
|
||||
|
||||
var that = IPA.association_facet(spec);
|
||||
|
||||
that.add_method = 'add_managedby';
|
||||
that.remove_method = 'remove_managedby';
|
||||
|
||||
that.create_adder_column({
|
||||
name: 'fqdn',
|
||||
primary_key: true,
|
||||
width: '200px'
|
||||
});
|
||||
|
||||
return that;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user