Community
Participate
Working Groups
See bug#410841 for more details.
This commit adds a simple ECMAScript 5 shim to the standalone editor. Only the necessary bits to get it running on IE8. It also fixes the hit testing problems caused by a bug in TextRange.getClientRects() which returned an empty array if the start offset is zero. There are also changes to fix content assist and tooltips (i.e. addEventListener). http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=ee654049bb9ec9c3cbcbdc0d35df79c7d9dcdf7c
Silenio, There is a bug, when you open the completion and try to close it when you click with mouse outside the popup completion. Line 17172 the code is : ------------------ onMouseDown: function(event) { if (event.event.target.parentElement !== self.parentNode) { self.contentAssist.deactivate(); } ... ------------------ and it should be : ------------------ onMouseDown: function(event) { var target = event.event.target || event.event.srcElement; if (target.parentElement !== self.parentNode) { self.contentAssist.deactivate(); } ... ------------------
Thanks! Fixed http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=1943f2d0b5b4e0889a88a7682b93be94af266fd9
(In reply to Silenio Quarti from comment #3) > Thanks! > > Fixed > > http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/ > ?id=1943f2d0b5b4e0889a88a7682b93be94af266fd9 Hi Silenio, Since I201309162230, the completion doesn't work with IE8. (201309152230 works great). (no javascript errors). Manu thank's for your help.
(In reply to Angelo ZERR from comment #4) > Since I201309162230, the completion doesn't work with IE8. (201309152230 > works great). (no javascript errors). > > Manu thank's for your help. We started calling Array.isArray in content assist and we did not have a shim for it. Fixed http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=f9de99d820b5749a6f347bbb896240ce262718af