MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / drag_cancel

Function drag_cancel

codebase/sources/dhtmlxscheduler.es.js:7365–7380  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

7363 source = fake_event;
7364 });
7365 function drag_cancel(e) {
7366 if (ignore(e))
7367 return;
7368 scheduler2._hide_global_tip();
7369 if (drag_mode) {
7370 scheduler2._on_mouse_up(accessor(e));
7371 scheduler2._temp_touch_block = false;
7372 }
7373 scheduler2._drag_id = null;
7374 scheduler2._drag_mode = null;
7375 scheduler2._drag_pos = null;
7376 scheduler2._pointerDragId = null;
7377 clearTimeout(timer);
7378 drag_mode = action_mode = false;
7379 scroll_mode = true;
7380 }
7381 attachTouchEvent(this._els["dhx_cal_data"][0], names[2], function(e) {
7382 if (document && document.body) {
7383 document.body.classList.remove("dhx_cal_touch_active");

Callers 1

extend$5Function · 0.70

Calls 1

ignoreFunction · 0.70

Tested by

no test coverage detected