mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed problem removing automount keys and DNS records.
Due to a recent change the deleting automount keys and DNS records no longer worked. The functions that are supposed to get the selected values has been fixed to use the correct names and element type. They also have been converted into methods of the search facets. Ticket #2256
This commit is contained in:
committed by
Petr Voborník
parent
d50618f6bd
commit
3bfd49a465
@@ -38,12 +38,6 @@ IPA.search_facet = function(spec) {
|
||||
|
||||
var that = IPA.table_facet(spec);
|
||||
|
||||
function get_values() {
|
||||
return that.table.get_selected_values();
|
||||
}
|
||||
|
||||
that.get_values = spec.get_values || get_values;
|
||||
|
||||
var init = function() {
|
||||
|
||||
that.init_table(that.managed_entity);
|
||||
@@ -127,7 +121,7 @@ IPA.search_facet = function(spec) {
|
||||
|
||||
that.show_remove_dialog = function() {
|
||||
|
||||
var values = that.get_values();
|
||||
var values = that.get_selected_values();
|
||||
|
||||
var title;
|
||||
if (!values.length) {
|
||||
|
||||
Reference in New Issue
Block a user