Your plugin adds to some forms. Default type of button is 'submit'. When user press ENTER in the form, the first form's element of type 'submit' is activated. In case of your pligin it will be your button, so user by pressing ENTER gets start/stop timer action instead of expected complete form and submit it to the server.
Hello!
Your plugin adds to some forms. Default type of button is 'submit'. When user press ENTER in the form, the first form's element of type 'submit' is activated. In case of your pligin it will be your button, so user by pressing ENTER gets start/stop timer action instead of expected complete form and submit it to the server.
Changing it to avoided this problem.
Thank you!