mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 02:10:39 +01:00
Fix: Add currentUser for pin-form creation page
This commit is contained in:
@@ -27,7 +27,8 @@ $(window).load(function() {
|
|||||||
image: {thumbnail: {image: $('#pin-form-image-url').val()}},
|
image: {thumbnail: {image: $('#pin-form-image-url').val()}},
|
||||||
referer: $('#pin-form-referer').val(),
|
referer: $('#pin-form-referer').val(),
|
||||||
description: $('#pin-form-description').val(),
|
description: $('#pin-form-description').val(),
|
||||||
tags: cleanTags($('#pin-form-tags').val())
|
tags: cleanTags($('#pin-form-tags').val()),
|
||||||
|
submitter: currentUser,
|
||||||
}]},
|
}]},
|
||||||
html = renderTemplate('#pins-template', context),
|
html = renderTemplate('#pins-template', context),
|
||||||
preview = $('#pin-form-image-preview');
|
preview = $('#pin-form-image-preview');
|
||||||
|
|||||||
Reference in New Issue
Block a user