Fix Bug 41189

This commit is contained in:
Julia Radzhabova 2019-04-11 13:09:28 +03:00
parent 2bbfec1e18
commit 99f7070c7a
9 changed files with 9 additions and 5 deletions

View file

@ -2293,7 +2293,7 @@ define([
var properties = new Asc.asc_CImgProperty();
properties.put_Width(originalImageSize.get_ImageWidth());
properties.put_Height(originalImageSize.get_ImageHeight());
properties.put_ResetCrop(true);
me.api.ImgApply(properties);
me.fireEvent('editcomplete', this);

View file

@ -397,6 +397,7 @@ define([
var properties = new Asc.asc_CImgProperty();
properties.put_Width(w);
properties.put_Height(h);
properties.put_ResetCrop(true);
this.api.ImgApply(properties);
this.fireEvent('editcomplete', this);
}

View file

@ -197,7 +197,7 @@ define([
properties.put_Width(imgsize.get_ImageWidth());
properties.put_Height(imgsize.get_ImageHeight());
properties.put_ResetCrop(true);
me.api.ImgApply(properties);
}
},

View file

@ -2731,7 +2731,7 @@ define([
properties.put_Width(originalImageSize.get_ImageWidth());
properties.put_Height(originalImageSize.get_ImageHeight());
properties.put_ResetCrop(true);
me.api.ImgApply(properties);
}

View file

@ -286,6 +286,7 @@ define([
var properties = new Asc.asc_CImgProperty();
properties.put_Width(w);
properties.put_Height(h);
properties.put_ResetCrop(true);
this.api.ImgApply(properties);
this.fireEvent('editcomplete', this);
}

View file

@ -124,7 +124,7 @@ define([
properties.put_Width(imgsize.get_ImageWidth());
properties.put_Height(imgsize.get_ImageHeight());
properties.put_ResetCrop(true);
me.api.ImgApply(properties);
}
},

View file

@ -2969,6 +2969,7 @@ define([
var properties = new Asc.asc_CImgProperty();
properties.asc_putWidth(w);
properties.asc_putHeight(h);
properties.put_ResetCrop(true);
this.api.asc_setGraphicObjectProps(properties);
Common.NotificationCenter.trigger('edit:complete', this.documentHolder);

View file

@ -423,6 +423,7 @@ define([
var properties = new Asc.asc_CImgProperty();
properties.asc_putWidth(w);
properties.asc_putHeight(h);
properties.put_ResetCrop(true);
this.api.asc_setGraphicObjectProps(properties);
Common.NotificationCenter.trigger('edit:complete', this);
}

View file

@ -160,7 +160,7 @@ define([
properties.put_Width(imgSize.get_ImageWidth());
properties.put_Height(imgSize.get_ImageHeight());
properties.put_ResetCrop(true);
me.api.asc_setGraphicObjectProps(properties);
}
},