Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

Google Plus sign in button omits type="button" attribute #760

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The button created by the Google Plus sign in code omits the type attribute. If 
the type attribute is omitted the button defaults to type="submit". Therefore 
if the sign in button is placed within a <form> tag, when clicked it will 
submit the form.

I have only just started seeing this behaviour so it must be a recent change in 
the button.

Original issue reported on code.google.com by dan...@saxil-nielsen.com on 5 Feb 2014 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by fa...@google.com on 4 Oct 2014 at 1:27

GoogleCodeExporter commented 9 years ago
Is there any way to change type="button" so that we can avoid triggering sign 
in button when press enter key, it should trigger the login button which is 
placed just after the sign in button in the same form.

Original comment by han...@gmail.com on 28 Jul 2015 at 11:56