This project is archived and is in readonly mode.

#456 ✓resolved
netpork

html table selectRow ie8 problem

Reported by netpork | November 30th, 2010 @ 03:36 PM | in 1.3.1.1

I randomly get 'unknown runtime error' in internet exploder 8, when trying to select a row.

Problem is in document.clearSelection function:

Document.implement({

clearSelection: function(){
    if (document.selection && document.selection.empty) {
        document.selection.empty();         <---------------- HERE
    } else if (window.getSelection) {
        var selection = window.getSelection();
        if (selection && selection.removeAllRanges) selection.removeAllRanges();
    }
}

});

Any hints?

ps. when i remove clearSelection call from selectRow, everything is working fine. :)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

Pages