Skip to main content

Search and Top Navigation

Ticket #4476: fix.patch


File fix.patch, 0.4 KB (added by bman654, September 08, 2009 11:41PM UTC)

Fixes the problem (tested in my real world app and with supplied test attachment)

Index: ui/effects.core.js
===================================================================
--- ui/effects.core.js	(revision 3202)
+++ ui/effects.core.js	(working copy)
@@ -257,7 +257,7 @@
 	'borderRightColor', 'borderTopColor', 'color', 'outlineColor'],
 function(i, attr) {
 	$.fx.step[attr] = function(fx) {
-		if (fx.state === 0) {
+		if (fx.start.constructor != Array) {
 			fx.start = getColor(fx.elem, attr);
 			fx.end = getRGB(fx.end);
 		}

Download in other formats:

Original Format