diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-04-07 18:41:06 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-04-07 18:41:06 +0200 |
| commit | a590451a1b6d8f3928904225494e772c480db5a1 (patch) | |
| tree | 87b92d60dae4cdd14180b5b4d3c5424c75fe7523 /addons/base_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js | |
| parent | f29759941922bbac29c58de6f7d72cdc86737be9 (diff) | |
[MERGE] manually calendar view from trunk-proto61-dhtmlx-scheduler-vda
bzr revid: al@openerp.com-20110407164106-odb0y1qogrg4x2js
Diffstat (limited to 'addons/base_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js')
| -rw-r--r-- | addons/base_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js b/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js new file mode 100644 index 00000000000..38ca0b7b192 --- /dev/null +++ b/addons/base_calendar/static/lib/dhtmlxScheduler/codebase/ext/dhtmlxscheduler_outerdrag.js @@ -0,0 +1,9 @@ +/*
+dhtmlxScheduler v.2.3
+
+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
+
+(c) DHTMLX Ltd.
+*/
+scheduler.attachEvent("onTemplatesReady",function(){var C=(new dhtmlDragAndDropObject());var B=C.stopDrag;var A;C.stopDrag=function(D){A=D||event;return B.apply(this,arguments)};C.addDragLanding(scheduler._els.dhx_cal_data[0],{_drag:function(F,G,D){var E=scheduler.attachEvent("onEventCreated",function(I,H){if(!scheduler.callEvent("onExternalDragIn",[I,F,H])){this._drag_mode=this._drag_id=null;this.deleteEvent(I)}});if(scheduler.matrix[scheduler._mode]){scheduler.dblclick_dhx_matrix_cell(A)}else{scheduler._on_dbl_click(A)}scheduler.detachEvent(E)},_dragIn:function(E,D){return E},_dragOut:function(D){return this}})});
\ No newline at end of file |
