google-code-export / candydolldb

Automatically exported from code.google.com/p/candydolldb
0 stars 0 forks source link

Full-size delete-overlay not working in IE #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using IE, visit model_view.php, set_view.php or image_view.php
2. See how the model/set/image's cache-image is displayed
3. See how the expected delete-hyperlink does not appear in the upper left 
ccrner.

What is the expected output? What do you see instead?

You can see that the dummy hyperlink (<a href="#"></a>) is being inserted - IE 
gives you the pointer-cursor and a nice dotted border when you click the image.

But instead of adding the overlaid delete-hyperlink, nothing else seems to 
happen.

Original issue reported on code.google.com by fwp...@gmail.com on 14 Apr 2012 at 2:51

GoogleCodeExporter commented 9 years ago
It seems to be the overlay DOES work, but only on the first pageload.

If you Ctrl+F5 the page (which should be the same as a completely new page 
visit), the overlay does not work.

Weird...

Original comment by fwp...@gmail.com on 14 Apr 2012 at 3:22

GoogleCodeExporter commented 9 years ago
Confirmed with IE 64-bit on Windows 7 64-bit

Original comment by mranimos...@gmail.com on 14 Apr 2012 at 10:24

GoogleCodeExporter commented 9 years ago
might it be that the view pages uses it own javascript via 
HtmlStuff::Imageloading ?

Original comment by mranimos...@gmail.com on 14 Apr 2012 at 10:29

GoogleCodeExporter commented 9 years ago
Both HtmlStuff and generic JS-file are in perfect working order. I tested this 
on model_view.php.

When I console.log() the first selector of the AddDeleteOverlay-function 
$('img[src*="download_image.php"]').length, I get '1' in all other browsers, 
'0' in IE.

It seems that $(window).load() does not behave consistently across browsers, as 
stated on the jQuery-page http://api.jquery.com/load-event/ (see caveats).

Original comment by fwp...@gmail.com on 16 Apr 2012 at 10:47

GoogleCodeExporter commented 9 years ago
If I call AddDeleteOverlay() manually in the console of IE, all is well and the 
overlay works as expected.

Original comment by fwp...@gmail.com on 16 Apr 2012 at 11:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r443.

Original comment by fwp...@gmail.com on 16 Apr 2012 at 6:35