Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
クリップ詳細: タグ投稿後にフォームがリセットされるように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Jan 13, 2014
1 parent e9f424d commit ad7930e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/clips/tagging.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>

0 comments on commit ad7930e

Please sign in to comment.