Forum submission via return key problem

Discussion in 'Developers' Forum' started by Croydon, Aug 23, 2012.

  1. Croydon

    Croydon HowtoForge Supporter


    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.
  2. till

    till Super Moderator

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

    Croydon HowtoForge Supporter

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

Share This Page