Commit f969acfe authored by Stan Hu's avatar Stan Hu

Merge branch 'master' into ce-to-ee-2018-01-19

parents 45eeb591 92eadbb6
...@@ -4,7 +4,6 @@ import NotificationsForm from './notifications_form'; ...@@ -4,7 +4,6 @@ import NotificationsForm from './notifications_form';
import notificationsDropdown from './notifications_dropdown'; import notificationsDropdown from './notifications_dropdown';
import LineHighlighter from './line_highlighter'; import LineHighlighter from './line_highlighter';
import MergeRequest from './merge_request'; import MergeRequest from './merge_request';
import Compare from './compare';
import initCompareAutocomplete from './compare_autocomplete'; import initCompareAutocomplete from './compare_autocomplete';
import Sidebar from './right_sidebar'; import Sidebar from './right_sidebar';
import Flash from './flash'; import Flash from './flash';
...@@ -240,19 +239,9 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line ...@@ -240,19 +239,9 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
shortcut_handler = true; shortcut_handler = true;
break; break;
case 'projects:merge_requests:creations:new': case 'projects:merge_requests:creations:new':
const mrNewCompareNode = document.querySelector('.js-merge-request-new-compare'); import('./pages/projects/merge_requests/creations/new')
if (mrNewCompareNode) { .then(callDefault)
new Compare({ .catch(fail);
targetProjectUrl: mrNewCompareNode.dataset.targetProjectUrl,
sourceBranchUrl: mrNewCompareNode.dataset.sourceBranchUrl,
targetBranchUrl: mrNewCompareNode.dataset.targetBranchUrl,
});
} else {
const mrNewSubmitNode = document.querySelector('.js-merge-request-new-submit');
new MergeRequest({
action: mrNewSubmitNode.dataset.mrSubmitAction,
});
}
new UserCallout(); new UserCallout();
case 'projects:merge_requests:creations:diffs': case 'projects:merge_requests:creations:diffs':
import('./pages/projects/merge_requests/creations/diffs') import('./pages/projects/merge_requests/creations/diffs')
......
...@@ -202,9 +202,6 @@ Read how to [replicate the Container Registry](docker_registry.md). ...@@ -202,9 +202,6 @@ Read how to [replicate the Container Registry](docker_registry.md).
- It works for repos, wikis, issues, and merge requests - It works for repos, wikis, issues, and merge requests
- It does not work for job logs, artifacts, GitLab Pages, and Docker images of the Container - It does not work for job logs, artifacts, GitLab Pages, and Docker images of the Container
Registry (by default, but you can configure it separately, see [replicate the Container Registry](docker_registry.md) for details) Registry (by default, but you can configure it separately, see [replicate the Container Registry](docker_registry.md) for details)
- It does not work for attachments uploaded before GitLab 9.0 because they will
not present in the uploads table, until
[#29249](https://gitlab.com/gitlab-org/gitlab-ce/issues/29240) is fixed.
## Frequently Asked Questions ## Frequently Asked Questions
......
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