changeset 895:a03b3813028a bug_365

changed the projet id from 1 to the first project.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 02 Feb 2012 14:03:51 +0000
parents 6e2b4ae0c843
children 4884d821863a 928c0d0f624e
files vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb
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:19:47 2012 +0000
+++ b/vendor/plugins/redmine_tags/app/views/projects/_tags_form.html.erb	Thu Feb 02 14:03:51 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