diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-03-14 20:52:01 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-03-28 10:43:23 +0000 |
commit | 8dc7efb2b025c9519b94362f3394ea6a1889ade1 (patch) | |
tree | 4af62db8b676a465140fc652740f0f023ece1a28 /app/assets/javascripts/pages/projects/edit | |
parent | 13cd7cd76ff70c4ee63a3d6aea3f76c80a29b354 (diff) | |
download | gitlab-ce-8dc7efb2b025c9519b94362f3394ea6a1889ade1.tar.gz |
Improve project avatar settingsce-proj-settings-ok-avatar-only
Prioritize and simplify project settings content.
Diffstat (limited to 'app/assets/javascripts/pages/projects/edit')
-rw-r--r-- | app/assets/javascripts/pages/projects/edit/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/projects/edit/index.js b/app/assets/javascripts/pages/projects/edit/index.js index 899d5925956..278c35d3846 100644 --- a/app/assets/javascripts/pages/projects/edit/index.js +++ b/app/assets/javascripts/pages/projects/edit/index.js @@ -3,7 +3,7 @@ import initSettingsPanels from '~/settings_panels'; import setupProjectEdit from '~/project_edit'; import initConfirmDangerModal from '~/confirm_danger_modal'; import mountBadgeSettings from '~/pages/shared/mount_badge_settings'; -import fileUpload from '~/lib/utils/file_upload'; +import initAvatarPicker from '~/avatar_picker'; import initProjectLoadingSpinner from '../shared/save_project_loader'; import initProjectPermissionsSettings from '../shared/permissions'; @@ -12,7 +12,7 @@ document.addEventListener('DOMContentLoaded', () => { setupProjectEdit(); // Initialize expandable settings panels initSettingsPanels(); - fileUpload('.js-choose-project-avatar-button', '.js-project-avatar-input'); + initAvatarPicker(); initProjectPermissionsSettings(); initConfirmDangerModal(); mountBadgeSettings(PROJECT_BADGE); |