mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 18:30:39 +01:00
Fix: Should use image_by_id as image-field name / add pagination
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user