Changes between Version 2 and Version 3 of Ticket #13268, comment 4
- Timestamp:
- Mar 1, 2013, 10:16:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13268, comment 4
v2 v3 1 1 Due to an upcoming (new) release of my own application I really needed to get this fixed, so I started stepping through the code. If anyone is even looking at this case, the problem stems from the use of the layerX and layerY attributes on the event on the _setPoint() function of ColorPicker.js: 2 2 3 4 {{{ 3 5 var newTop = evt.layerY - satSelCenterH; 4 6 var newLeft = evt.layerX - satSelCenterW; 7 }}} 8 5 9 6 10 … … 15 19 In order to fix this, you can simply use the isIE / has("ie") functions in dojo. So a quick hack is something like this: 16 20 21 22 {{{ 17 23 if (dojo.isIE >= 9) { 18 24 var newTop = evt.y - satSelCenterH; … … 24 30 var newLeft = evt.layerX - satSelCenterW; 25 31 } 32 }}} 33 26 34 27 35