mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-26 21:07:40 +00:00
Admin can now force full sync for users (fix for #2993
This commit is contained in:
@@ -621,8 +621,12 @@ $(function() {
|
||||
"btnfullsync",
|
||||
"GeneralDeleteModal",
|
||||
$(this).data('value'),
|
||||
function(value){
|
||||
path = getPath() + "/ajax/fullsync"
|
||||
function(userid) {
|
||||
if (userid) {
|
||||
path = getPath() + "/ajax/fullsync/" + userid
|
||||
} else {
|
||||
path = getPath() + "/ajax/fullsync"
|
||||
}
|
||||
$.ajax({
|
||||
method:"post",
|
||||
url: path,
|
||||
|
||||
Reference in New Issue
Block a user