X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3badd77f743883992829a1174eef7c8d5e851766..642e83337054cbef44f9ee3335dcf7f50224dd9e:/wolnelektury/static/js/dialogs.js?ds=inline 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 };