Commit 61d8b259 authored by Jigal van Hemert's avatar Jigal van Hemert Committed by Stefan Neufeind
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
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-by: Jigal van Hemert's avatarJigal van Hemert <>
Tested-by: Jigal van Hemert's avatarJigal van Hemert <>
Reviewed-by: default avatarStefan Neufeind <>
Tested-by: default avatarStefan Neufeind <>
parent 42de3e0d
......@@ -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