diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-09-05 14:04:19 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-09-05 14:04:19 +0300 |
commit | 8eec09249cf682bf04562ab635209e7a57c36ce7 (patch) | |
tree | 18a80a75da3e58c03ef008434cbff8d235b93673 /app/assets/javascripts/dispatcher.js | |
parent | 89e5bc5ea7a4f61e956c0ef04033e24d392b9cb4 (diff) |
Sets callout dissmiss cookie per project using a path
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 88b4267359a..e2bc11038da 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -156,7 +156,7 @@ import initChangesDropdown from './init_changes_dropdown'; new UsersSelect(); break; case 'projects:merge_requests:index': - new UserCallout(); + new UserCallout({ setCalloutPerProject: true }); break; case 'projects:merge_requests:index': case 'projects:issues:index': @@ -346,7 +346,7 @@ import initChangesDropdown from './init_changes_dropdown'; case 'projects:show': shortcut_handler = new ShortcutsNavigation(); new NotificationsForm(); - new UserCallout(); + new UserCallout({ setCalloutPerProject: true }); if ($('#tree-slider').length) new TreeView(); if ($('.blob-viewer').length) new BlobViewer(); @@ -367,7 +367,7 @@ import initChangesDropdown from './init_changes_dropdown'; new NewBranchForm($('.js-new-pipeline-form')); break; case 'projects:pipelines:index': - new UserCallout(); + new UserCallout({ setCalloutPerProject: true }); break; case 'projects:pipelines:builds': case 'projects:pipelines:failures': @@ -426,7 +426,7 @@ import initChangesDropdown from './init_changes_dropdown'; new TreeView(); new BlobViewer(); new NewCommitForm($('.js-create-dir-form')); - new UserCallout(); + new UserCallout({ setCalloutPerProject: true }); $('#tree-slider').waitForImages(function() { gl.utils.ajaxGet(document.querySelector('.js-tree-content').dataset.logsPath); }); |