HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   Forum submission via return key problem (http://www.howtoforge.com/forums/showthread.php?t=58362)

Croydon 23rd August 2012 18:50

Forum submission via return key problem
 
Hi,

could someone please double check this behaviour:

If a form (like add mail etc) is submitted using the return key the ajax request is sent twice.
This happens at least if the tab focus is on the "Save" button, maybe on input fields, too.

It happens on login too, if you submit using return key (watch firebug console).

Tested with default and default-v2 theme.

Datalog entries are also created twice then.

till 23rd August 2012 20:44

I guess this is caused by line 112 in main.tpl of the default template.

Croydon 24th August 2012 08:34

Fixed it in svn for themes default and default-v2.


All times are GMT +2. The time now is 11:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.