Commit 04c6a044 authored by Jigal van Hemert's avatar Jigal van Hemert
Browse files

[BUGFIX] Handle opacity for IE in prototype.js

The new prototype.js sometimes returns a string as opacity value
instead of a float. This causes problems with the starting
animation for dragging an item, making it completely hidden during
dragging.
Forcing the result to be a float results in a correct opacity.

Resolves: #58053
Releases: 6.2, 6.1, 4.7, 4.5
Change-Id: I7811dec578f5e3222fd8fc95145c1e0cdbedb21f
Reviewed-on: http://review.typo3.org/34330

Reviewed-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
parent 83a4e3f5
......@@ -3147,7 +3147,7 @@ Ajax.PeriodicalUpdater = Class.create(Ajax.Base, {
function getOpacity(element) {
return Element.getStyle(element, 'opacity');
return parseFloat(Element.getStyle(element, 'opacity'));
}
function getOpacity_IE(element) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment