2015-10-24 18:46:33 +05:30
|
|
|
- project = @target_project || @project
|
2016-09-13 17:45:13 +05:30
|
|
|
- noteable_type = @noteable.class if @noteable.present?
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
- if project
|
|
|
|
:javascript
|
|
|
|
GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_namespace_project_path(project.namespace, project, type: noteable_type, type_id: params[:id])}"
|
|
|
|
GitLab.GfmAutoComplete.cachedData = undefined;
|
|
|
|
GitLab.GfmAutoComplete.setup();
|