Weird issue with cookies

So our clients have reported that their grids where empty in internet explorer, which was really weird since we could see from the log files that data was received, and could not reproduce the problem in the office.

I then started “playing” with the grid to reproduce the problem, at I found that I to am getting an empty grid, when I used the grid normally, and then switch compatibility mode on, resize the coulmns on the grid and save the cookie. Closing the browser and opening it again at the website. Then I got a empty grid.
As this(notice the header says a???):

What is really wierd is, that the problem goes away when enabling the Developer Console(F12) in IE, and therefore making it nearly impossible to debug.

The problem also goes away if we turn the ability to save grid state off, but since a lot of our clients use this feature, we can’t do this.

Other browsers such as Chrome and Firefox does not have this issue. And grid is being used on a tomcat server, and inside a dhtmlx layout if this makes any difference. I’m able to reproduce in any web application where we use the dhtmlx grid.

Unfortunately I can’t, due to customer privacy, give you access to our websites.

Okay, error found.

It seems one of you dhtmlx guys forgot a little debug code in the release.
On line 8755

The console.log will get an object undefined error. I was never able to find the error since the console would be defined when pressing F12.

But why it was only visible sometimes beats me. But it seems to be working now.

Atleast you could have responded here guys…

Escapsulate the damn thing in an if statement… People have paid for this.