summaryrefslogtreecommitdiff
path: root/app/views/layouts/_init_auto_complete.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/_init_auto_complete.html.haml')
-rw-r--r--app/views/layouts/_init_auto_complete.html.haml1
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();