From 8e6ed3549745651f5f1f7252f8254818bdc40c55 Mon Sep 17 00:00:00 2001 From: z9hang Date: Wed, 27 Aug 2014 15:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=B7=BB=E5=8A=A0=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E8=BE=93=E5=85=A5=E7=84=A6=E7=82=B9=E5=8D=B4=E5=9C=A8?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=E9=97=AE=E9=A2=98=EF=BC=88=E4=B8=A4?= =?UTF-8?q?=E4=B8=AA=E8=BE=93=E5=85=A5=E6=A1=86=E7=94=A8=E4=BA=86=E5=90=8C?= =?UTF-8?q?=E4=B8=80=E4=B8=AAid=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=A0=87=E7=AD=BE=E7=9A=84=E6=96=87=E6=9C=AC=E6=A1=86?= =?UTF-8?q?=E7=9A=84id=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/tags/_tag.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/tags/_tag.html.erb b/app/views/tags/_tag.html.erb index 2e9b3d217..b20b383ef 100644 --- a/app/views/tags/_tag.html.erb +++ b/app/views/tags/_tag.html.erb @@ -52,7 +52,7 @@ <%= l(:label_tag) %>: <% if User.current.logged? %> - <%= toggle_link (image_tag "/images/sidebar/add.png"), 'put-tag-form', {:focus => 'name'} %> + <%= toggle_link (image_tag "/images/sidebar/add.png"), 'put-tag-form', {:focus => 'tags_name'} %> <% end %>
@@ -62,7 +62,7 @@ <%= form_for "tag_for_save",:remote=>true,:url=>tag_path, :update => "tags_show", :complete => '$("#put-tag-form").hide();' do |f| %> - <%= f.text_field :name ,:id => "name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %> + <%= f.text_field :name ,:id => "tags_name",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length %> <%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%> <%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%> <%= f.submit l(:button_project_tags_add),:class => "small" %>