diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-01-26 12:05:58 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-01-26 12:05:58 +0100 |
| commit | 4398d8561a02f5152bc9f27bd5120a98c5de1997 (patch) | |
| tree | 45320c9a7f17947a9721fc8613e2150b966eb748 /addons/web_gantt/static/lib/dhtmlxGantt/codebase | |
| parent | 37ee686837d897d77ed1587b4d43b3c7dac8bbd8 (diff) | |
[FIX] unfuck dhtmlxgantt's dhtmlxcommon which breaks dhtmlxchart
bzr revid: xmo@openerp.com-20120126110558-fk1po7fv97yww2f5
Diffstat (limited to 'addons/web_gantt/static/lib/dhtmlxGantt/codebase')
| -rw-r--r-- | addons/web_gantt/static/lib/dhtmlxGantt/codebase/dhtmlxcommon.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/addons/web_gantt/static/lib/dhtmlxGantt/codebase/dhtmlxcommon.js b/addons/web_gantt/static/lib/dhtmlxGantt/codebase/dhtmlxcommon.js index 208124b8c74..ab3fe54405b 100644 --- a/addons/web_gantt/static/lib/dhtmlxGantt/codebase/dhtmlxcommon.js +++ b/addons/web_gantt/static/lib/dhtmlxGantt/codebase/dhtmlxcommon.js @@ -1,33 +1,3 @@ -dhtmlx=function(obj){
- for (var a in obj) dhtmlx[a]=obj[a];
- return dhtmlx; //simple singleton
-};
-dhtmlx.extend_api=function(name,map,ext){
- var t = window[name];
- if (!t) return; //component not defined
- window[name]=function(obj){
- if (obj && typeof obj == "object" && !obj.tagName){
- var that = t.apply(this,(map._init?map._init(obj):arguments));
- //global settings
- for (var a in dhtmlx)
- if (map[a]) this[map[a]](dhtmlx[a]);
- //local settings
- for (var a in obj){
- if (map[a]) this[map[a]](obj[a]);
- else if (a.indexOf("on")==0){
- this.attachEvent(a,obj[a]);
- }
- }
- } else
- var that = t.apply(this,arguments);
- if (map._patch) map._patch(this);
- return that||this;
- };
- window[name].prototype=t.prototype;
- if (ext)
- dhtmlXHeir(window[name].prototype,ext);
-};
-
dhtmlxAjax={
get:function(url,callback){
var t=new dtmlXMLLoaderObject(true);
|
