[FIX] stupid dhtmlxGraph blowing up everything in MSIE8 when not in debug mode
bzr revid: xmo@openerp.com-20120213111746-uojye5kfp1zpsb4a
This commit is contained in:
parent
899a8e2ece
commit
b1f1ca0ea1
|
@ -5,8 +5,9 @@
|
|||
"version": "2.0",
|
||||
"depends": ['web'],
|
||||
"js": [
|
||||
"static/lib/dhtmlxGraph/codebase/dhtmlxchart.js",
|
||||
"static/src/js/graph.js"],
|
||||
"static/lib/dhtmlxGraph/codebase/thirdparty/excanvas/excanvas.js",
|
||||
"static/lib/dhtmlxGraph/codebase/dhtmlxchart.js",
|
||||
"static/src/js/graph.js"],
|
||||
"css": ["static/lib/dhtmlxGraph/codebase/dhtmlxchart.css"],
|
||||
'qweb' : [
|
||||
"static/src/xml/*.xml",
|
||||
|
|
|
@ -2189,7 +2189,6 @@ dhtmlx.Canvas = {
|
|||
});
|
||||
a.appendChild(this.l);
|
||||
if (!this.l.getContext) if (dhtmlx.r) {
|
||||
dhtmlx.require("thirdparty/excanvas/excanvas.js");
|
||||
G_vmlCanvasManager.init_(document);
|
||||
G_vmlCanvasManager.initElement(this.l)
|
||||
}
|
||||
|
|
|
@ -4021,7 +4021,6 @@ dhtmlx.Canvas = {
|
|||
//use excanvas in IE
|
||||
if (!this._canvas.getContext){
|
||||
if (dhtmlx._isIE){
|
||||
dhtmlx.require("thirdparty/excanvas/excanvas.js"); //sync loading
|
||||
G_vmlCanvasManager.init_(document);
|
||||
G_vmlCanvasManager.initElement(this._canvas);
|
||||
} else //some other not supported browser
|
||||
|
|
|
@ -922,6 +922,3 @@ if (!document.createElement('canvas').getContext) {
|
|||
})();
|
||||
|
||||
} // if
|
||||
|
||||
if (dhtmlx && dhtmlx._modules)
|
||||
dhtmlx._modules["thirdparty/excanvas/excanvas.js"] = true;
|
|
@ -3093,7 +3093,6 @@ dhtmlx.Canvas = {
|
|||
//use excanvas in IE
|
||||
if (!this._canvas.getContext){
|
||||
if (dhtmlx._isIE){
|
||||
dhtmlx.require("thirdparty/excanvas/excanvas.js"); //sync loading
|
||||
G_vmlCanvasManager.init_(document);
|
||||
G_vmlCanvasManager.initElement(this._canvas);
|
||||
} else //some other not supported browser
|
||||
|
|
Loading…
Reference in New Issue