diff --git a/client/html/post_edit_sidebar.tpl b/client/html/post_edit_sidebar.tpl
index e13070af..0ab7277f 100644
--- a/client/html/post_edit_sidebar.tpl
+++ b/client/html/post_edit_sidebar.tpl
@@ -98,6 +98,7 @@
<%= ctx.makeTextInput({
text: 'Source',
name: 'source',
+ value: ctx.post.source
}) %>
<% } %>
diff --git a/client/js/controllers/post_main_controller.js b/client/js/controllers/post_main_controller.js
index a482b844..19148526 100644
--- a/client/js/controllers/post_main_controller.js
+++ b/client/js/controllers/post_main_controller.js
@@ -147,6 +147,9 @@ class PostMainController extends BasePostController {
if (e.detail.thumbnail !== undefined) {
post.newThumbnail = e.detail.thumbnail;
}
+ if (e.detail.source !== undefined) {
+ post.source = e.detail.source;
+ }
post.save()
.then(() => {
this._view.sidebarControl.showSuccess('Post saved.');