BigW Consortium Gitlab

_init_auto_complete.html.haml 319 Bytes
Newer Older
1
- project = @target_project || @project
2 3 4 5

- if @noteable
  :javascript
    GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_namespace_project_path(project.namespace, project, type: @noteable.class, type_id: params[:id])}"
6
    GitLab.GfmAutoComplete.cachedData = undefined;
7
    GitLab.GfmAutoComplete.setup();