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/details.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/details.js')
-rw-r--r-- | install/ui/details.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/install/ui/details.js b/install/ui/details.js index 80e7bd9e..237de602 100644 --- a/install/ui/details.js +++ b/install/ui/details.js @@ -382,7 +382,6 @@ IPA.details_facet = function(spec) { var section = sections[i]; that.toggle(section, true); } - return false; } }).appendTo(that.controls); @@ -401,7 +400,6 @@ IPA.details_facet = function(spec) { var section = sections[i]; that.toggle(section, false); } - return false; } }).appendTo(that.controls); @@ -447,8 +445,12 @@ IPA.details_facet = function(spec) { details.append('<hr/>'); } + + + that.resize(); }; + that.setup = function(container) { that.facet_setup(container); @@ -490,7 +492,7 @@ IPA.details_facet = function(spec) { var div = section.container; if (visible != div.is(":visible")) { - div.slideToggle(); + div.slideToggle('slow', that.resize); } }; |