mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Improved API for post editing
This commit is contained in:
@ -109,7 +109,7 @@ App.Presenters.PostEditPresenter = function(
|
||||
function editPost() {
|
||||
var $form = $target.find('form');
|
||||
var formData = new FormData();
|
||||
formData.append('seenEditTime', post.lastEditTime);
|
||||
formData.append('lastEditTime', post.lastEditTime);
|
||||
|
||||
if (privileges.canChangeContent && postContent) {
|
||||
formData.append('content', postContent);
|
||||
|
Reference in New Issue
Block a user