[patch] make form buttons react to enter as if they were clicked.

Luciano Montanaro mikelima at cirulla.net
Thu May 12 15:09:22 BST 2005


El Jueves 12 Mayo 2005 15:57, Leo Savernik escribió:
> Am Mittwoch, 11. Mai 2005 20:08 schrieb Luciano Montanaro:
> > El Miércoles 11 Mayo 2005 19:59, Leo Savernik escribió:
> > > Am Mittwoch, 11. Mai 2005 18:57 schrieb Luciano Montanaro:
> > > > This one-line patch makes pressing enter on a form push button the
> > > > same as pressing space. This means that "onclick" works too.
> > >
> > > How does Mozilla behave in this regard? We should stay compatible.
> >
> > Pressing enter on an highlighted pushbutton in mozilla acts as a click.
> > But checkboxes and radio buttons can be activated only with the space
> > bar.
>
> I'd stick to this precedent. Can you adjust your patch accordingly?

It should be trivial. I'll look at this again later today.

Luciano

>
> mfg
> 	Leo

-- 
Luciano Montanaro       //
                    \\ //
                     \x/Un euro, un voto!




More information about the kfm-devel mailing list