Bug#704026: package name window rejects leading blanks in package name

2013-05-26 Thread Raphael Hertzog
On Sun, 26 May 2013, Paul Wise wrote: On Sun, May 26, 2013 at 7:42 AM, David Suárez wrote: Patch attached. The patch isn't going to work if the user-agent doesn't have JavaScript support. For Debian websites we prefer to use progressive enhancement; we make it work without CSS or JS and

Bug#704026: package name window rejects leading blanks in package name

2013-05-26 Thread David Suárez
Hi, On Domingo, 26 de mayo de 2013 09:40:32 Raphael Hertzog escribió: On Sun, 26 May 2013, Paul Wise wrote: On Sun, May 26, 2013 at 7:42 AM, David Suárez wrote: Patch attached. The patch isn't going to work if the user-agent doesn't have JavaScript support. For Debian websites we

Bug#704026: package name window rejects leading blanks in package name

2013-05-26 Thread Paul Wise
On Sun, May 26, 2013 at 9:13 PM, David Suárez wrote: I agree with that, usability is important, but we can just eliminate people with javascript support because other don't have. I guess you meant s/can/can't/? If so, I agree but we shouldn't also leave people without JS in a worse situation

Bug#704026: package name window rejects leading blanks in package name

2013-05-25 Thread David Suárez
Hi, PTS fails to find a package if there are leading blanks in the package entry window (easy to do if if copying and pasting). Patch attached. David Index: index.html === --- index.html (revisión: 2999) +++ index.html (copia de

Bug#704026: package name window rejects leading blanks in package name

2013-05-25 Thread Paul Wise
On Sun, May 26, 2013 at 7:42 AM, David Suárez wrote: Patch attached. The patch isn't going to work if the user-agent doesn't have JavaScript support. For Debian websites we prefer to use progressive enhancement; we make it work without CSS or JS and add JS/CSS to enhance the user experience