diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-05-03 14:42:01 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-05-15 13:05:21 +0200 |
commit | 77f2f87fe5222df44f34c73d83a0c33b7835a9ef (patch) | |
tree | d4adc83568eb8b3c1e47c54cf3f56fd17429ce17 /install/ui/automount.js | |
parent | 69877296dc9da05e89a8f2585165becc7bbd9c99 (diff) | |
download | freeipa.git-77f2f87fe5222df44f34c73d83a0c33b7835a9ef.tar.gz freeipa.git-77f2f87fe5222df44f34c73d83a0c33b7835a9ef.tar.xz freeipa.git-77f2f87fe5222df44f34c73d83a0c33b7835a9ef.zip |
Improved calculation of max pkey length in facet header
Very long pkeys in facet header were limited to 60 characters. This magic number was good enough but with new action lists it isn't.
This patch is adding calculation of maximum characters for pkey in facet header. It fixes regression introduced by Action Lists and also it uses effectively available space.
Also this patch is changing limiting of breadcrumbs element to use as much space as possible. It works in three steps. First a threshold is set which is equal to length average. Then a total length of keys with length less than threshold is calculated. From this we can get remaining space for long keys and calculate new threshold. At last keys are limited to new threshold.
https://fedorahosted.org/freeipa/ticket/2247
f
Diffstat (limited to 'install/ui/automount.js')
0 files changed, 0 insertions, 0 deletions