X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3badd77f743883992829a1174eef7c8d5e851766..6e374f03fd5a0b9c7725f8268dd9c7d57d49ee89:/wolnelektury/static/js/dialogs.js diff --git a/wolnelektury/static/js/dialogs.js b/wolnelektury/static/js/dialogs.js index 0df6508eb..846331cdd 100755 --- a/wolnelektury/static/js/dialogs.js +++ b/wolnelektury/static/js/dialogs.js @@ -79,6 +79,7 @@ $('.target', $window).text(response.message); setTimeout(function() { $window.jqmHide() }, 1000); $form.submit(); + location.reload(); } else { $('.error', $window).remove(); @@ -145,7 +146,7 @@ }; var ajaxable_callbacks = { - 'social-book-sets': update_star + 'social-book-sets': location.reload };