mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
improve claim all seeding
This commit is contained in:
@@ -633,7 +633,7 @@ if ($userInfo->id == $CURUSER['id'] && has_role_work_seeding($userInfo->id)) {
|
||||
$claimJs = <<<JS
|
||||
jQuery("body").on("click", "#claim-all-seeding", function (e) {
|
||||
layer.confirm("$claimAllSeedingConfirmation", {}, function () {
|
||||
jQuery.post('ajax.php', {"action": "claimAllSeeding"}, function (response) {
|
||||
jQuery.post('/plugin/claim_all_seeding', {"action": "claimAllSeeding"}, function (response) {
|
||||
if (response.ret == 0) {
|
||||
window.location.reload()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user