fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix section counting/targetting from search snippet
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
dialogs.js
diff --git
a/wolnelektury/static/js/dialogs.js
b/wolnelektury/static/js/dialogs.js
index
0df6508
..
846331c
100755
(executable)
--- 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();
$('.target', $window).text(response.message);
setTimeout(function() { $window.jqmHide() }, 1000);
$form.submit();
+ location.reload();
}
else {
$('.error', $window).remove();
}
else {
$('.error', $window).remove();
@@
-145,7
+146,7
@@
};
var ajaxable_callbacks = {
};
var ajaxable_callbacks = {
- 'social-book-sets':
update_star
+ 'social-book-sets':
location.reload
};
};