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

Function drag_cancel

codebase/sources/dhtmlxscheduler.js:7369–7384  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

7367 source = fake_event;
7368 });
7369 function drag_cancel(e) {
7370 if (ignore(e))
7371 return;
7372 scheduler2._hide_global_tip();
7373 if (drag_mode) {
7374 scheduler2._on_mouse_up(accessor(e));
7375 scheduler2._temp_touch_block = false;
7376 }
7377 scheduler2._drag_id = null;
7378 scheduler2._drag_mode = null;
7379 scheduler2._drag_pos = null;
7380 scheduler2._pointerDragId = null;
7381 clearTimeout(timer);
7382 drag_mode = action_mode = false;
7383 scroll_mode = true;
7384 }
7385 attachTouchEvent(this._els["dhx_cal_data"][0], names[2], function(e) {
7386 if (document && document.body) {
7387 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