From ad7930e1e09f90016e2614f8daa30898cc71c350 Mon Sep 17 00:00:00 2001 From: YOSHIDA Hiroki Date: Mon, 13 Jan 2014 20:29:36 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AF=E3=83=AA=E3=83=83=E3=83=97=E8=A9=B3?= =?UTF-8?q?=E7=B4=B0:=20=E3=82=BF=E3=82=B0=E6=8A=95=E7=A8=BF=E5=BE=8C?= =?UTF-8?q?=E3=81=AB=E3=83=95=E3=82=A9=E3=83=BC=E3=83=A0=E3=81=8C=E3=83=AA?= =?UTF-8?q?=E3=82=BB=E3=83=83=E3=83=88=E3=81=95=E3=82=8C=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/clips/tagging.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/clips/tagging.js.erb b/app/views/clips/tagging.js.erb index 022914a..bb0c435 100644 --- a/app/views/clips/tagging.js.erb +++ b/app/views/clips/tagging.js.erb @@ -12,4 +12,5 @@ tag.attr('id', 'tag_<%= @tag.id %>'); tag.html('<%= @tag.name %><%= link_to '[×]', untagging_clip_path(tag_id: @tag.id), :remote => true %>'); $('ul#tags').append(tag); + $('#tagging_form').get(0).reset(); <% end %>