Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 4945:55aef7ab35a8
Increase default height of classhelp windows from 400 to 600.
If classhelp popup windows are really opened in a separate browser window
instead of just a new tab, the window size is often too small, especially
when the search frame for finding usernames is displayed.
The original size was introduced in 2002 and might have been meant for 640x480
resolutions and the new size might still be too small for many use cases, but
this conservative/small increase should not hurt people with small displays.
| author | Thomas Arendsen Hein <thomas@intevation.de> |
|---|---|
| date | Tue, 25 Nov 2014 16:31:06 +0100 |
| parents | 5a59c723e57f |
| children | 9b1302f9fb11 |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Tue Nov 25 16:04:17 2014 +0100 +++ b/roundup/cgi/templating.py Tue Nov 25 16:31:06 2014 +0100 @@ -638,7 +638,7 @@ return l def classhelp(self, properties=None, label=''"(list)", width='500', - height='400', property='', form='itemSynopsis', + height='600', property='', form='itemSynopsis', pagesize=50, inputtype="checkbox", html_kwargs={}, sort=None, filter=None): """Pop up a javascript window with class help
