Commit 29dd3c31 authored by Kushal Pandya's avatar Kushal Pandya

Use FOSS Sortable config in EE

Use common Sortable config in both FOSS
and EE.
parent 0394b804
/* 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