mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added support for radio buttons in table widget.
The table widget has been modified to support single-valued attribute using radio buttons needed by some facets in HBAC Test. The widget now uses 'pagination' flag to determine whether to show the pagination control. The test data has also been updated. Ticket #388
This commit is contained in:
committed by
Endi S. Dewata
parent
8f642bbe08
commit
6f0c16e428
@@ -391,7 +391,6 @@ IPA.table_facet = function(spec) {
|
||||
var that = IPA.facet(spec);
|
||||
|
||||
that.managed_entity_name = spec.managed_entity_name || that.entity.name;
|
||||
that.page_length = spec.page_length === undefined ? 20 : spec.page_length;
|
||||
|
||||
that.pagination = spec.pagination === undefined ? true : spec.pagination;
|
||||
that.search_all = spec.search_all;
|
||||
@@ -509,7 +508,7 @@ IPA.table_facet = function(spec) {
|
||||
name: entity.metadata.primary_key,
|
||||
label: entity.metadata.label,
|
||||
entity: entity,
|
||||
page_length: that.page_length,
|
||||
pagination: true,
|
||||
search_all: that.search_all,
|
||||
scrollable: true,
|
||||
selectable: that.selectable && !that.read_only
|
||||
|
||||
Reference in New Issue
Block a user