Commit f64f70e6 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'kp-unify-sortable-config' into 'master'

Use FOSS Sortable config in EE

See merge request gitlab-org/gitlab!65622
parents 1097aba2 29dd3c31
/* global DocumentTouch */
import sortableConfig from 'ee_else_ce/sortable/sortable_config';
import sortableConfig from '~/sortable/sortable_config';
export function sortableStart() {
document.body.classList.add('is-dragging');
......
<script>
import { GlLoadingIcon } from '@gitlab/ui';
import Sortable from 'sortablejs';
import sortableConfig from 'ee_else_ce/sortable/sortable_config';
import sortableConfig from '~/sortable/sortable_config';
import RelatedIssuableItem from '~/vue_shared/components/issue/related_issuable_item.vue';
export default {
......
/* global DocumentTouch */
import sortableConfig from 'ee_else_ce/sortable/sortable_config';
import sortableConfig from '~/sortable/sortable_config';
import { NO_DRAG_CLASS } from '../constants';
export default () => {
......
export default {
animation: 200,
forceFallback: true,
fallbackClass: 'is-dragging',
fallbackOnBody: true,
ghostClass: 'is-ghost',
fallbackTolerance: 1,
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment