mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

When using MvcMiniProfiler, jQueryUI highlight function throws an execption when background is transparent all the way to the body tag #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start with the sample project
2. Reference the jQuery UI
3. Create a div and make sure it's background color is transparent through all 
parents up to the body tag
4. Make sure the mini profiler has loaded it's includes
5. Use the jquery ui highlight effect on the div you created
6. Pull your hair out for an hour trying to figure out why 
colors['transparent'] is undefined
7. Post your issue on google code project for MvcMiniProfiler

What is the expected output? What do you see instead?
No error, An error: fx.end is undefined, the root of which is because 
colors['transparent'] is undefined, this gets hit when the background is 
rgba(0,0,0,0)

What version of the product are you using? On what operating system?
revision 4fb4fdb92337

Please provide any additional information below.

Original issue reported on code.google.com by FodyLar...@gmail.com on 1 Jul 2011 at 5:01

GoogleCodeExporter commented 8 years ago
This is probably a side-effect of our using Resig's color plugin - I'll try to 
only include it if its functionality isn't detected (which jQuery.UI has 
built-in).

Original comment by jarrod.m.dixon on 4 Jul 2011 at 7:17

GoogleCodeExporter commented 8 years ago
Fody - did you find any workaround until a patch is released?

Original comment by scott.stafford on 5 Jul 2011 at 8:19

GoogleCodeExporter commented 8 years ago
scott  - set the background color of the page wrapper

Original comment by FodyLar...@gmail.com on 6 Jul 2011 at 1:25

GoogleCodeExporter commented 8 years ago
I've removed our usage of Resig's color plugin, doing the color animations when 
clicking on a sql link privately.

Please verify!

Original comment by jarrod.m.dixon on 8 Jul 2011 at 3:04