Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03, 3.0
-
Fix Version/s: 3.0.1, EE-3.0.0.GA, EE-1.8.2.GA_P04
-
Component/s: Bridge
-
Labels:None
-
Environment:Linux 2.6.18-128.el5
Description
We have a dataTable with a rowSelector. It is coded, so that when the user double-clicks a row on the table, it navigates to the next page.
If the user double clicks in a cell without a value, a javascript error is thrown: "Unknown runtime error". This only occurs in IE9. This error is not encountered when Firefox is used.
If the user double clicks in a cell without a value, a javascript error is thrown: "Unknown runtime error". This only occurs in IE9. This error is not encountered when Firefox is used.
This was thrown by lib/extras.js, here
Ice.registerDblClick = function(elem) {
{ Ice.clickEvents[elem.id].submit(2); }if (document.selection) document.selection.empty();
if (Ice.clickEvents[elem.id])
}
It's the call to document.selection.empty(). I don't know what the problem is. This is a patch that simply catches the exception an ignores it. I don't know whether this is a long-term solution, but it allows my application to double-click on the row in the table, which is the primary goal for me.