diff options
author | Adam Young <ayoung@redhat.com> | 2011-06-01 12:14:53 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-06-02 14:28:24 -0400 |
commit | 7486a332211ed13318c0a689657cb4ff7e7d25a3 (patch) | |
tree | 8a6615df0fcd165cede3f7674be407a30516d35e /install/ui/search.js | |
parent | 585083c1d7a0069579d45b17adb39ad8f522c3f6 (diff) | |
download | freeipa-7486a332211ed13318c0a689657cb4ff7e7d25a3.tar.gz freeipa-7486a332211ed13318c0a689657cb4ff7e7d25a3.tar.xz freeipa-7486a332211ed13318c0a689657cb4ff7e7d25a3.zip |
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
Diffstat (limited to 'install/ui/search.js')
-rw-r--r-- | install/ui/search.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/install/ui/search.js b/install/ui/search.js index ba27cc9dd..b8fa26017 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -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, |