:: Forum >>

IE9 + DocType = Cells not editable

Hello Alex,

Thanks for this nice toolkit - it has been very useful for my application so far.

I have just renewed my license in hope of getting support for IE9.
But I've run in to a bug, which currently makes it unusable for me.

When no doctype is specified AW works fine, but when a doctype is specified, cells becomes uneditable. When focus is moved from a cell after editing, no events are called and the content of the cell changes to "..."

To reproduce, you can use your own demo:
http://www.activewidgets.com/examples/2.5/basic.htm

Just add the following DocType statement at the top:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

I hope very much for a resolution of this bug.

Thanks in advance.
Dennis Frank Mogensen
Wednesday, May 4, 2011
Yes, I can reproduce this issue. Working on a fix.
Alex (ActiveWidgets)
Wednesday, May 4, 2011
I am really sorry for this bug. For the quick/easy solution add the following code to the end of aw.js or in the beginning of your script -
if (AW.ms9){
        AW.ms8 = true;
    }


To fix it properly you have to edit the source code. In /source/lib/browsers/editing.js on line 69 and on line 135
- replace (!AW.ms8) with (!AW.ms8 && !AW.ms9)

or directly in runtime/lib/aw.js line 21, char 2108 and char 1071.
Alex (ActiveWidgets)
Sunday, May 8, 2011
Thanks for the quick fix.

I've tried the proper fix in runtime/aw.js, and it works perfectly.
Dennis Frank Mogensen
Monday, May 9, 2011

This topic is archived.


Back to support forum

Forum search