debian-mirror-gitlab/app/views/layouts/_init_auto_complete.html.haml

8 lines
352 B
Text
Raw Normal View History

2015-10-24 18:46:33 +05:30
- project = @target_project || @project
2016-08-24 12:49:21 +05:30
- noteable_class = @noteable.class if @noteable.present?
2016-08-24 12:49:21 +05:30
: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();