mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
mujma: BUGFIX: Added blocking history during resize and rotate.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41962 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5e4b0852c4
commit
4bd9352924
@ -22,6 +22,7 @@ var Effects = {
|
|||||||
} else {
|
} else {
|
||||||
resize.imageContainerResize.disable();
|
resize.imageContainerResize.disable();
|
||||||
crop.disable();
|
crop.disable();
|
||||||
|
imageHistory.disable();
|
||||||
imageTransformation.rotate(90,Effects.rotateCallback.bind(this));
|
imageTransformation.rotate(90,Effects.rotateCallback.bind(this));
|
||||||
this.isRotateEnabled = false;
|
this.isRotateEnabled = false;
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,7 @@ var Resize = {
|
|||||||
effects.disableRotate();
|
effects.disableRotate();
|
||||||
crop.disable();
|
crop.disable();
|
||||||
this.imageContainerResize.disable();
|
this.imageContainerResize.disable();
|
||||||
|
imageHistory.disable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user