diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-01 15:03:36 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-01 15:03:36 +0100 |
commit | cc154fc47b4ae2c81d9b8d92d725b4a082ed7727 (patch) | |
tree | 708e3d5e5c4ed646820404cf9899746d6290ff6f /app/views/layouts/_init_auto_complete.html.haml | |
parent | ab81ea1e8177742a0dfed2c7cf922bb03a8b6c51 (diff) | |
download | gitlab-ce-cc154fc47b4ae2c81d9b8d92d725b4a082ed7727.tar.gz |
Cache autocomplete resultscache-autocomplete-results
Diffstat (limited to 'app/views/layouts/_init_auto_complete.html.haml')
-rw-r--r-- | app/views/layouts/_init_auto_complete.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/_init_auto_complete.html.haml b/app/views/layouts/_init_auto_complete.html.haml index 96b38485425..12e7ed0e792 100644 --- a/app/views/layouts/_init_auto_complete.html.haml +++ b/app/views/layouts/_init_auto_complete.html.haml @@ -3,4 +3,5 @@ - if @noteable :javascript GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_namespace_project_path(project.namespace, project, type: @noteable.class, type_id: params[:id])}" + GitLab.GfmAutoComplete.cachedData = undefined; GitLab.GfmAutoComplete.setup(); |