display fixes
[wolnelektury.git] / wolnelektury / static / js / dialogs.js
index 0df6508..846331c 100755 (executable)
@@ -79,6 +79,7 @@
                                 $('.target', $window).text(response.message);
                                 setTimeout(function() { $window.jqmHide() }, 1000);
                                 $form.submit();
                                 $('.target', $window).text(response.message);
                                 setTimeout(function() { $window.jqmHide() }, 1000);
                                 $form.submit();
+                                location.reload();
                             }
                             else {
                                 $('.error', $window).remove();
                             }
                             else {
                                 $('.error', $window).remove();
         };
 
         var ajaxable_callbacks = {
         };
 
         var ajaxable_callbacks = {
-            'social-book-sets': update_star
+            'social-book-sets': location.reload
         };
 
 
         };