changeset 896:4884d821863a luisf

Merge from branch "bug_365"
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 02 Feb 2012 14:04:20 +0000
parents 2a298083742b (current diff) a03b3813028a (diff)
children 5d5943de529f f2a30f704798
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb	Wed Feb 01 13:20:45 2012 +0000
+++ b/vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb	Thu Feb 02 14:04:20 2012 +0000
@@ -3,6 +3,6 @@
   <p id="project_tags"><%= f.text_field :tag_list, :label => :tags, :size => 60, :class => 'hol' %></p>
   <div id="project_tag_candidates" class="autocomplete"></div>
   <%= javascript_include_tag 'tags_input', :plugin => 'redmine_tags' %>
-  <%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => 1)}', false)" %>
+  <%= javascript_tag "observeProjectTagsField('#{url_for(:controller => 'auto_completes', :action => 'project_tags', :project_id => Project.first.id)}', false)" %>
 </div>
 <% end -%>
\ No newline at end of file