From 1b849e25620bf4ac1896c0f727f4630ab5bd9e62 Mon Sep 17 00:00:00 2001 From: Stas Kravets Date: Wed, 14 Sep 2011 12:50:00 +0400 Subject: [PATCH] VKontakte OpenAPI fix: avoiding auto-close of popup window --- example/templates/vkontakte.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 %} -- 2.39.5