summaryrefslogtreecommitdiffstats
path: root/app/views/documents
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-10-25 00:01:14 +0000
committerGo MAEDA <maeda@farend.jp>2020-10-25 00:01:14 +0000
commit74d4d86a14cd683de9a70ffcae6db79344cdef2d (patch)
tree783632f7234cce4156f28e90bc031f5f1a26dd64 /app/views/documents
parentd57674962ad938b46128fd671133d651f6a78b15 (diff)
downloadredmine-74d4d86a14cd683de9a70ffcae6db79344cdef2d.tar.gz
redmine-74d4d86a14cd683de9a70ffcae6db79344cdef2d.zip
Store inline autocomplete data sources in a JS variable (#34122).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20191 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents')
-rw-r--r--app/views/documents/_form.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/documents/_form.html.erb b/app/views/documents/_form.html.erb
index b8b8c8404..45b63611f 100644
--- a/app/views/documents/_form.html.erb
+++ b/app/views/documents/_form.html.erb
@@ -5,8 +5,7 @@
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
<p><%= f.text_area :description, :cols => 60, :rows => 15, :class => 'wiki-edit',
:data => {
- :auto_complete => true,
- :issues_url => auto_complete_issues_path(:project_id => @project, :q => '')
+ :auto_complete => true
}
%></p>