diff options
Diffstat (limited to 'codebase/sources/ext/dhtmlxscheduler_multisource.js')
-rw-r--r-- | codebase/sources/ext/dhtmlxscheduler_multisource.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/codebase/sources/ext/dhtmlxscheduler_multisource.js b/codebase/sources/ext/dhtmlxscheduler_multisource.js new file mode 100644 index 0000000..09194bc --- /dev/null +++ b/codebase/sources/ext/dhtmlxscheduler_multisource.js @@ -0,0 +1,29 @@ +/* +dhtmlxScheduler v.4.1.0 Stardard + +This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. + +(c) Dinamenta, UAB. +*/ +(function(){ + + function backup(obj){ + var t = function(){}; + t.prototype = obj; + return t; + } + + var old = scheduler._load; + scheduler._load=function(url,from){ + url=url||this._load_url; + if (typeof url == "object"){ + var t = backup(this._loaded); + for (var i=0; i < url.length; i++) { + this._loaded=new t(); + old.call(this,url[i],from); + } + } else + old.apply(this,arguments); + }; + +})();
\ No newline at end of file |