mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
scrollable content areas
Turn off the side scroll bars for pages. Resizes the table when the browser resizes For stables, the rows scroll, but not the header. For details, the content area scrolls. Reserves 400 picesl for the header/ footer. Resize is only done on reload
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
|
||||
/* REQUIRES: ipa.js */
|
||||
|
||||
/* For scrolling tables, we want to make sure we leave enough room for the
|
||||
header and footer. */
|
||||
IPA.reserved_screen_size = 400;
|
||||
|
||||
IPA.search_facet = function(spec) {
|
||||
|
||||
spec = spec || {};
|
||||
@@ -73,6 +77,7 @@ IPA.search_facet = function(spec) {
|
||||
|
||||
|
||||
that.table = IPA.table_widget({
|
||||
scrollable: true,
|
||||
id: entity.name+'-search',
|
||||
name: 'search',
|
||||
label: IPA.metadata.objects[entity.name].label,
|
||||
|
||||
Reference in New Issue
Block a user