X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/01d7c5f6d52a56a9800ea7eccfeb25762261813d..fac40627abbe9e6466b4442bfd45e9ed037dc199:/wolnelektury/static/js/dialogs.js?ds=sidebyside

diff --git a/wolnelektury/static/js/dialogs.js b/wolnelektury/static/js/dialogs.js
index 086a47d3d..d44dab32e 100755
--- a/wolnelektury/static/js/dialogs.js
+++ b/wolnelektury/static/js/dialogs.js
@@ -58,7 +58,7 @@
             $('body').append($window);
 
             $window.jqm({
-                ajax: '/uzytkownicy/zaloguj-utworz/',
+                ajax: '/uzytkownik/zaloguj-utworz/?next=' + escape(window.location),
                 ajaxText: '<p><img src="' + STATIC_URL + 'img/indicator.gif" alt="*"/> ' + gettext("Loading") + '</p>',
                 target: $('.target', $window)[0],
                 overlay: 60,