From 09fa4064f5898d036caf88fdfee9b68976a607a6 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 14 Aug 2017 16:45:05 +0300 Subject: [PATCH] [DE] Fix Bug 35587. --- apps/documenteditor/main/app/controller/PageLayout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/controller/PageLayout.js b/apps/documenteditor/main/app/controller/PageLayout.js index 470dcc0fb..a30c76c43 100644 --- a/apps/documenteditor/main/app/controller/PageLayout.js +++ b/apps/documenteditor/main/app/controller/PageLayout.js @@ -207,7 +207,7 @@ define([ var props = new Asc.asc_CImgProperty(); props.put_WrappingStyle(item.options.wrapType); - if ( _imgOriginalProps.get_WrappingStyle() === Asc.c_oAscWrapStyle2.Inline && item.wrapType !== Asc.c_oAscWrapStyle2.Inline ) { + if ( _imgOriginalProps.get_WrappingStyle() === Asc.c_oAscWrapStyle2.Inline && item.options.wrapType !== Asc.c_oAscWrapStyle2.Inline ) { props.put_PositionH(new Asc.CImagePositionH()); props.get_PositionH().put_UseAlign(false); props.get_PositionH().put_RelativeFrom(Asc.c_oAscRelativeFromH.Column); @@ -229,7 +229,7 @@ define([ onClickMenuGroup: function (menu, item, e) { var props = new Asc.asc_CImgProperty(); - props.put_Group(item.groupval); + props.put_Group(item.options.groupval); this.api.ImgApply(props); this.toolbar.fireEvent('editcomplete', this.toolbar);