Fix: Should use image_by_id as image-field name / add pagination

This commit is contained in:
winkidney
2019-02-21 18:11:08 +08:00
parent 4029107b5d
commit fbbe4d8c2e
3 changed files with 8 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ $(window).load(function() {
tags: cleanTags($('#pin-form-tags').val())
};
if (uploadedImage) {
data.image_id = uploadedImage;
data.image_by_id = uploadedImage;
} else {
data.url = $('#pin-form-image-url').val();
}