diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-02-03 21:02:19 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-02-03 21:02:19 +0300 |
commit | 538a6875d3b53f909e9b5b6ef396a457cbcae760 (patch) | |
tree | 503cf693557a3e9992a7276bc804cfd579658892 /app/assets/javascripts/project.js | |
parent | 3213dfd797fec7014f7fa38ef110cfb785c297a8 (diff) | |
parent | aa91f508369a795878b3ee95556302cdb55d9f6c (diff) |
Merge branch '25624-anticipate-obstacles-to-removing-turbolinks' into 'master'
Remove Turbolinks
Closes #25624
See merge request !8570
Diffstat (limited to 'app/assets/javascripts/project.js')
-rw-r--r-- | app/assets/javascripts/project.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/project.js b/app/assets/javascripts/project.js index 67f8804666d..1a657ee6a19 100644 --- a/app/assets/javascripts/project.js +++ b/app/assets/javascripts/project.js @@ -1,6 +1,5 @@ /* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, quotes, consistent-return, no-new, prefer-arrow-callback, no-return-assign, one-var, one-var-declaration-per-line, object-shorthand, comma-dangle, no-else-return, newline-per-chained-call, no-shadow, vars-on-top, prefer-template, max-len */ /* global Cookies */ -/* global Turbolinks */ /* global ProjectSelect */ (function() { @@ -118,7 +117,7 @@ var $form = $dropdown.closest('form'); var action = $form.attr('action'); var divider = action.indexOf('?') < 0 ? '?' : '&'; - Turbolinks.visit(action + '' + divider + '' + $form.serialize()); + gl.utils.visitUrl(action + '' + divider + '' + $form.serialize()); } } }); |