[DE mobile] Fix image editing
This commit is contained in:
parent
c0efac841b
commit
c788ba2dd1
|
@ -196,11 +196,12 @@ define([
|
|||
if (me.api) {
|
||||
var imgsize = me.api.get_OriginalSizeImage(),
|
||||
properties = new Asc.asc_CImgProperty();
|
||||
|
||||
properties.put_Width(imgsize.get_ImageWidth());
|
||||
properties.put_Height(imgsize.get_ImageHeight());
|
||||
properties.put_ResetCrop(true);
|
||||
me.api.ImgApply(properties);
|
||||
if (imgsize) {
|
||||
properties.put_Width(imgsize.get_ImageWidth());
|
||||
properties.put_Height(imgsize.get_ImageHeight());
|
||||
properties.put_ResetCrop(true);
|
||||
me.api.ImgApply(properties);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue