assets/dashboard/vendor/html5sortable.js
function (e) {
                var element = e.target;
                var sortableElement = element.isSortable === true ? element : findSortable(element);
                element = findDragElement(sortableElement, element);
                if (!dragging || !_listsConnected(sortableElement, dragging.parentElement) || addData(sortableElement, '_disabled') === 'true') {
                    return;
                }
                var options = addData(sortableElement, 'opts');
                if (parseInt(options.maxItems) && _filter(sortableElement.children, addData(sortableElement, 'items')).length >= parseInt(options.maxItems) && dragging.parentElement !== sortableElement) {
                    return;
                }
                e.preventDefault();
                e.stopPropagation();
                e.dataTransfer.dropEffect = store(sortableElement).getConfig('copy') === true ? 'copy' : 'move';
                debouncedDragOverEnter(sortableElement, element, e.pageY);
            }
function (e) {
                var element = e.target;
                var sortableElement = element.isSortable === true ? element : findSortable(element);
                element = findDragElement(sortableElement, element);
                if (!dragging || !_listsConnected(sortableElement, dragging.parentElement) || addData(sortableElement, '_disabled') === 'true') {
                    return;
                }
                var options = addData(sortableElement, 'opts');
                if (parseInt(options.maxItems) && _filter(sortableElement.children, addData(sortableElement, 'items')).length >= parseInt(options.maxItems) && dragging.parentElement !== sortableElement) {
                    return;
                }
                e.preventDefault();
                e.stopPropagation();
                e.dataTransfer.dropEffect = store(sortableElement).getConfig('copy') === true ? 'copy' : 'move';
                debouncedDragOverEnter(sortableElement, element, e.pageY);
            }
function ( e ) { var element = e . target ; var sortableElement = element . isSortable === true ? element : findSortable ( element ) ; element = findDragElement ( sortableElement , element ) ; if ( ! dragging || ! _listsConnected ( sortableElement , dragging . parentElement ) || addData ( sortableElement , '_disabled' ) === 'true' ) { return ; } var options = addData ( sortableElement , 'opts' ) ; if ( parseInt ( options . maxItems ) && _filter ( sortableElement . children , addData ( sortableElement , 'items' ) ) . length >= parseInt ( options . maxItems ) && dragging . parentElement !== sortableElement ) { return ; } e . preventDefault ( ) ; e . stopPropagation ( ) ; e . dataTransfer . dropEffect = store ( sortableElement ) . getConfig ( 'copy' ) === true ? 'copy' : 'move' ; debouncedDragOverEnter ( sortableElement , element , e . pageY ) ; }
Handle dragover and dragenter events on draggable items
Handle dragover and dragenter events on draggable items