Closed GoogleCodeExporter closed 9 years ago
Can you post me your index.html and possible any other custom login scripts.
Original comment by samuli.j...@gmail.com
on 6 Oct 2012 at 4:55
Yes, I see the problem. The custom login package was meant to show only how to
use Mollify API to create custom login page, and not to be actual complete
solution (more like "hello world" type of example).
The script registers click handler for the login button on every time login
part is shown. This means also after the user has logged out.
The problem here is that the login part is never removed, only hidden, and thus
it would not need re-registering the click event when it is shown for the
second time. Now every time the login is shown, another click handler is added,
and when you click the button, it is executed twice.
Simply move the "$("#btn-login").click(onLogin);" from function showLogin into
plugin initialize function.
Original comment by samuli.j...@gmail.com
on 6 Oct 2012 at 7:34
Original comment by samuli.j...@gmail.com
on 11 Sep 2013 at 2:40
Original issue reported on code.google.com by
alanboli...@gmail.com
on 6 Oct 2012 at 10:21