Skip to content

Commit 009b36b

Browse files
ZeegaanNikolaj Geisle
andauthored
Send key from frontend to postsave (#12080)
Co-authored-by: Nikolaj Geisle <[email protected]>
1 parent 44ddf7a commit 009b36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/common/services/umbdataformatter.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
formatUserPostData: function (displayModel) {
155155

156156
//create the save model from the display model
157-
var saveModel = _.pick(displayModel, 'id', 'parentId', 'name', 'username', 'culture', 'email', 'startContentIds', 'startMediaIds', 'userGroups', 'message');
157+
var saveModel = _.pick(displayModel, 'id', 'parentId', 'name', 'username', 'culture', 'email', 'startContentIds', 'startMediaIds', 'userGroups', 'message', 'key');
158158

159159
//make sure the userGroups are just a string array
160160
var currGroups = saveModel.userGroups;

0 commit comments

Comments
 (0)