From: Stas Kravets Date: Wed, 14 Sep 2011 08:50:00 +0000 (+0400) Subject: VKontakte OpenAPI fix: avoiding auto-close of popup window X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1b849e25620bf4ac1896c0f727f4630ab5bd9e62;p=django-social-auth.git VKontakte OpenAPI fix: avoiding auto-close of popup window --- diff --git a/example/templates/vkontakte.html b/example/templates/vkontakte.html index 137a105..98fd420 100644 --- a/example/templates/vkontakte.html +++ b/example/templates/vkontakte.html @@ -27,12 +27,13 @@ window.location = "{{ VK_COMPLETE_URL }}?" + params; }); + return false; } - window.onload = authVK(); - -
Logging in, please wait...
+

+ Click to authorize +

{% endblock %}