Bug: DHTMLX Hot Fix for IE11 break dhtmlxMessage

Hi guys,

I am using DHTMLX Suite Pro version 3.5 (released in August 2012) with DHTMLX Hot Fix for IE11 (dhtmlx.com/blog/?p=2053).

This is my code

<script type="text/javascript" src="dhtmlx.js"></script>
<script type="text/javascript" src="dhtmlxcommon.js"></script> //this if the IE 11 hotfix

dhtmlx.message({ 
    type:"confirm-warning", 
    text:"Are you sure you want to do it?"
})

The dialog does not show and this is js error in browser console

Uncaught TypeError: Object function (obj){
	for (var a in obj) dhtmlx[a]=obj[a];
	return dhtmlx; //simple singleton
} has no method 'message' 

If I remove the the DHTMLX Hot fix for IE11, then it works fine. But then, dhtmlxGrid breaks on IE11.

can anyone help ?

dhtmlxcommon.js should be always included first. Therefore, you can not include it after dhtmlx.js.

Try to use libCompiler from your Suite package to include dhtmlxcommon.js into generated dhtmlx.js:
you should copy fixed dhtmlxcommon.js into dhtmlxSuite/libCompiler folder and then generate new libs.