summaryrefslogtreecommitdiff
path: root/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-06-20 12:05:57 +0200
committerXavier Morel <xmo@openerp.com>2011-06-20 12:05:57 +0200
commitca34076fbd5d24f2a77954bd07f77d227daf45bd (patch)
tree4c6b5a4679e0d423b08b6528bbb5a775b6b98260 /addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js
parent0aedbd386ceb9123dc9ddea99f8e0e644d1d9ee3 (diff)
[IMP] rollback namespace-alteration to dhtmlXChart, fix dhtmlxscheduler and dhtmlxgantt to not fuck up the root dhtmlx namespace (which is what breaks chart)
bzr revid: xmo@openerp.com-20110620100557-zya9u6a3zuhhs0c3
Diffstat (limited to 'addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js')
-rw-r--r--addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js43
1 files changed, 1 insertions, 42 deletions
diff --git a/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js b/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js
index 2413d122573..ec0b61b638d 100644
--- a/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js
+++ b/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler.js
@@ -6,47 +6,6 @@ to use it in not GPL project. Please contact sales@dhtmlx.com for details
(c) DHTMLX Ltd.
*/
-dhtmlx = function (B) {
- for (var A in B) {
- dhtmlx[A] = B[A]
- }
- return dhtmlx
-};
-dhtmlx.extend_api = function (A, D, C) {
- var B = window[A];
- if (!B) {
- return
- }
- window[A] = function (G) {
- if (G && typeof G == "object" && !G.tagName && !(G instanceof Array)) {
- var F = B.apply(this, (D._init ? D._init(G) : arguments));
- for (var E in dhtmlx) {
- if (D[E]) {
- this[D[E]](dhtmlx[E])
- }
- }
- for (var E in G) {
- if (D[E]) {
- this[D[E]](G[E])
- } else {
- if (E.indexOf("on") == 0) {
- this.attachEvent(E, G[E])
- }
- }
- }
- } else {
- var F = B.apply(this, arguments)
- }
- if (D._patch) {
- D._patch(this)
- }
- return F || this
- };
- window[A].prototype = B.prototype;
- if (C) {
- dhtmlXHeir(window[A].prototype, C)
- }
-};
dhtmlxAjax = {
get: function (A, C) {
var B = new dtmlXMLLoaderObject(true);
@@ -3732,4 +3691,4 @@ This software is allowed to use under GPL or you need to obtain Commercial or En
to use it in not GPL project. Please contact sales@dhtmlx.com for details
(c) DHTMLX Ltd.
-*/ \ No newline at end of file
+*/