From b79406cb896e6f6003cb7ca6adc71f3f2da82d80 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 24 Oct 2012 15:48:59 +0200 Subject: [WIP] Updated dhtmlx calendar bzr revid: fme@openerp.com-20121024134859-pru7zenpiz0la8mq --- .../lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js') diff --git a/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js b/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js index b4ae32b1b60..46c8ada91c6 100644 --- a/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js +++ b/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js @@ -1,6 +1,6 @@ /* This software is allowed to use under GPL or you need to obtain Commercial or Enterise License -to use it in not GPL project. Please contact sales@dhtmlx.com for details +to use it in non-GPL project. Please contact sales@dhtmlx.com for details */ -scheduler.attachEvent("onTemplatesReady",function(){var a=new dhtmlDragAndDropObject,g=a.stopDrag,b;a.stopDrag=function(d){b=d||event;return g.apply(this,arguments)};a.addDragLanding(scheduler._els.dhx_cal_data[0],{_drag:function(d){var a=scheduler.attachEvent("onEventCreated",function(a,b){if(!scheduler.callEvent("onExternalDragIn",[a,d,b]))this._drag_mode=this._drag_id=null,this.deleteEvent(a)});if(scheduler.matrix&&scheduler.matrix[scheduler._mode])scheduler.dblclick_dhx_matrix_cell(b);else{var f= -document.createElement("div");f.className="dhx_month_body";var c={},e;for(e in b)c[e]=b[e];c.target=c.srcElement=f;scheduler._on_dbl_click(c)}scheduler.detachEvent(a)},_dragIn:function(a){return a},_dragOut:function(){return this}})}); +scheduler.attachEvent("onTemplatesReady",function(){var a=new dhtmlDragAndDropObject,e=a.stopDrag,b;a.stopDrag=function(c){b=c||event;return e.apply(this,arguments)};a.addDragLanding(scheduler._els.dhx_cal_data[0],{_drag:function(c,a,e,h){if(!scheduler.checkEvent("onBeforeExternalDragIn")||scheduler.callEvent("onBeforeExternalDragIn",[c,a,e,h,b])){var i=scheduler.attachEvent("onEventCreated",function(a,b){if(!scheduler.callEvent("onExternalDragIn",[a,c,b]))this._drag_mode=this._drag_id=null,this.deleteEvent(a)}); +if(scheduler.matrix&&scheduler.matrix[scheduler._mode])scheduler.dblclick_dhx_matrix_cell(b);else{var g=document.createElement("div");g.className="dhx_month_body";var d={},f;for(f in b)d[f]=b[f];d.target=d.srcElement=g;scheduler._on_dbl_click(d)}scheduler.detachEvent(i)}},_dragIn:function(a){return a},_dragOut:function(){return this}})}); -- cgit v1.2.3 From 8198fc787dc94df9d0ccdc83e02a512afc3504ea Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Sat, 3 Nov 2012 16:00:45 +0100 Subject: [FIX] remove unsed minified files bzr revid: al@openerp.com-20121103150045-pkx6ckvc9hp7vaz0 --- .../lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js (limited to 'addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js') diff --git a/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js b/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js deleted file mode 100644 index 46c8ada91c6..00000000000 --- a/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js +++ /dev/null @@ -1,6 +0,0 @@ -/* -This software is allowed to use under GPL or you need to obtain Commercial or Enterise License -to use it in non-GPL project. Please contact sales@dhtmlx.com for details -*/ -scheduler.attachEvent("onTemplatesReady",function(){var a=new dhtmlDragAndDropObject,e=a.stopDrag,b;a.stopDrag=function(c){b=c||event;return e.apply(this,arguments)};a.addDragLanding(scheduler._els.dhx_cal_data[0],{_drag:function(c,a,e,h){if(!scheduler.checkEvent("onBeforeExternalDragIn")||scheduler.callEvent("onBeforeExternalDragIn",[c,a,e,h,b])){var i=scheduler.attachEvent("onEventCreated",function(a,b){if(!scheduler.callEvent("onExternalDragIn",[a,c,b]))this._drag_mode=this._drag_id=null,this.deleteEvent(a)}); -if(scheduler.matrix&&scheduler.matrix[scheduler._mode])scheduler.dblclick_dhx_matrix_cell(b);else{var g=document.createElement("div");g.className="dhx_month_body";var d={},f;for(f in b)d[f]=b[f];d.target=d.srcElement=g;scheduler._on_dbl_click(d)}scheduler.detachEvent(i)}},_dragIn:function(a){return a},_dragOut:function(){return this}})}); -- cgit v1.2.3