Commit 48fab195 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'dispatcher-project-branches' into 'master'

Refactor dispatcher project branches path

See merge request gitlab-org/gitlab-ce!16398
parents de7d477d 6fcef535
......@@ -30,7 +30,6 @@ import CommitsList from './commits';
import Issue from './issue';
import BindInOut from './behaviors/bind_in_out';
import SecretValues from './behaviors/secret_values';
import DeleteModal from './branches/branches_delete_modal';
import Group from './group';
import ProjectsList from './projects_list';
import setupProjectEdit from './project_edit';
......@@ -55,7 +54,6 @@ import GpgBadges from './gpg_badges';
import initChangesDropdown from './init_changes_dropdown';
import NewGroupChild from './groups/new_group_child';
import { ajaxGet, convertPermissionToBoolean } from './lib/utils/common_utils';
import AjaxLoadingSpinner from './ajax_loading_spinner';
import GlFieldErrors from './gl_field_errors';
import GLForm from './gl_form';
import Shortcuts from './shortcuts';
......@@ -218,8 +216,9 @@ import Activities from './activities';
new NewBranchForm($('.js-create-branch-form'), JSON.parse(document.getElementById('availableRefs').innerHTML));
case 'projects:branches:index':
new DeleteModal();
case 'projects:issues:new':
case 'projects:issues:edit':
import AjaxLoadingSpinner from '~/ajax_loading_spinner';
import DeleteModal from '~/branches/branches_delete_modal';
export default () => {
new DeleteModal(); // eslint-disable-line no-new
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