Fix Bug 41189
This commit is contained in:
parent
2bbfec1e18
commit
99f7070c7a
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue