diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-08-03 20:31:53 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-03 20:31:53 +0000 |
commit | dab08be606878139ce3fe3d8e197ef73badf8e88 (patch) | |
tree | 7693b5595ed61943879eec4bb4ee71dff75af3c0 /app/views/layouts/_init_auto_complete.html.haml | |
parent | db271a6b051f9630d5dfb3acbbd78f150cb3f23f (diff) | |
download | gitlab-ce-dab08be606878139ce3fe3d8e197ef73badf8e88.tar.gz |
Resolve "Specific Async Script Loading by using a Page Variable"
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 9704c9ec624..fe0ec35d003 100644 --- a/app/views/layouts/_init_auto_complete.html.haml +++ b/app/views/layouts/_init_auto_complete.html.haml @@ -4,6 +4,7 @@ - if project -# haml-lint:disable InlineJavaScript :javascript + gl = window.gl || {}; gl.GfmAutoComplete = gl.GfmAutoComplete || {}; gl.GfmAutoComplete.dataSources = { members: "#{members_project_autocomplete_sources_path(project, type: noteable_type, type_id: params[:id])}", |