From 6cc18be68d979f6d1811fb95700a10c22da1a518 Mon Sep 17 00:00:00 2001 From: rr- Date: Sun, 5 Feb 2017 16:54:01 +0100 Subject: [PATCH] client/posts: fix editing post relations Regression since e725f4f9 --- client/js/controls/post_edit_sidebar_control.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/js/controls/post_edit_sidebar_control.js b/client/js/controls/post_edit_sidebar_control.js index 7ba37d3d..70570d75 100644 --- a/client/js/controls/post_edit_sidebar_control.js +++ b/client/js/controls/post_edit_sidebar_control.js @@ -274,7 +274,8 @@ class PostEditSidebarControl extends events.EventTarget { undefined, relations: this._relationsInputNode ? - misc.splitByWhitespace(this._relationsInputNode.value) : + misc.splitByWhitespace(this._relationsInputNode.value) + .map(x => parseInt(x)) : undefined, content: this._newPostContent ?