client/posts: fix editing post relations

Regression since e725f4f9
This commit is contained in:
rr- 2017-02-05 16:54:01 +01:00
parent e725f4f99c
commit 6cc18be68d
1 changed files with 2 additions and 1 deletions

View File

@ -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 ?