assets/dashboard/vendor/html5sortable.js
function (sortableElement) {
        var opts = addData(sortableElement, 'opts');
        var items = _filter(sortableElement.children, opts.items);
        var handles = _getHandles(items, opts.handle);
        addAttribute(sortableElement, 'aria-dropeffect', 'none');
        addData(sortableElement, '_disabled', 'true');
        addAttribute(handles, 'draggable', 'false');
        removeEventListener(handles, 'mousedown');
    }
function (sortableElement) {
        var opts = addData(sortableElement, 'opts');
        var items = _filter(sortableElement.children, opts.items);
        var handles = _getHandles(items, opts.handle);
        addAttribute(sortableElement, 'aria-dropeffect', 'none');
        addData(sortableElement, '_disabled', 'true');
        addAttribute(handles, 'draggable', 'false');
        removeEventListener(handles, 'mousedown');
    }
function ( sortableElement ) { var opts = addData ( sortableElement , 'opts' ) ; var items = _filter ( sortableElement . children , opts . items ) ; var handles = _getHandles ( items , opts . handle ) ; addAttribute ( sortableElement , 'aria-dropeffect' , 'none' ) ; addData ( sortableElement , '_disabled' , 'true' ) ; addAttribute ( handles , 'draggable' , 'false' ) ; removeEventListener ( handles , 'mousedown' ) ; }
Disable the sortable
@param {HTMLElement} sortableElement a single sortable
Disable the sortable