We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ef391 commit f6e199fCopy full SHA for f6e199f
js/cropper/cropper-ui.js
@@ -518,7 +518,11 @@ class SaveImageAjaxController extends WebAppDefaultAjaxController {
518
};
519
cropperUI.destroy(this.domElement);
520
var image = cropperUI.getImage(this.domElement);
521
- cropperUI.createCropper(image[0], options);
+ image[0].src = data.data.path;
522
+ var cropperOptions = {
523
+ autoCrop: false,
524
+ };
525
+ cropperUI.createCropper(image[0], options, cropperOptions);
526
}
527
} else {
528
this.showError();
0 commit comments