Commit db3d8fc
committed
Increased flash z-index to 2147483647
I've recently had problems getting FileAPI to use Flash. Although Flash was being detected and the flash uploader inserted on the page, FileAPI was falling back to using an iFrame for submission. After investigating further, it turns out that the flash uploader was being hidden behind other elements. FileAPI uses a z-index of 1000000, but apparently some of our elements are even higher than that (don't ask why). To resolve this, I've increased the z-index to 2^32, which I believe is the maximum that both legacy and new browsers will accept (see http://www.puidokas.com/max-z-index/). This resolves the problem for me, and now FileAPI successfully uses the flash uploader.1 parent dcd288f commit db3d8fc
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
0 commit comments