fixed comment count bug in moderation portal
This commit is contained in:
@@ -1131,9 +1131,14 @@ function submitComment(contributionId) {
|
||||
Swal.fire('Fehler', response.error, 'error');
|
||||
return;
|
||||
}
|
||||
// Clears Input and reloads Comments
|
||||
if (input) input.value = '';
|
||||
loadComments(contributionId);
|
||||
Swal.fire({
|
||||
title: 'Eingereicht!',
|
||||
text: 'Ihr Kommentar wurde erfolgreich eingereicht und wird nach Prüfung durch das Moderationsteam veröffentlicht.',
|
||||
icon: 'success',
|
||||
timer: 3000,
|
||||
showConfirmButton: true
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user