From e7292fdb5937ed7baa2d129e1b57dfa4f5603f66 Mon Sep 17 00:00:00 2001 From: yutao <283765470@qq.com> Date: Fri, 10 Jul 2015 14:20:40 +0800 Subject: [PATCH] ... --- app/views/words/create.js.erb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/views/words/create.js.erb b/app/views/words/create.js.erb index 86249ca11..046bc7d1d 100644 --- a/app/views/words/create.js.erb +++ b/app/views/words/create.js.erb @@ -11,8 +11,5 @@ $('#history').html('<%= escape_javascript(render(:partial => 'users/history',:lo $('#jour_count').html('<%= @obj_count%>') $('#pre_show').html('<%= escape_javascript(render(:partial => 'pre_show', :locals => {:content => nil})) %>'); $('#new_form_user_message').val(""); -if($('#new_message_cancel_btn') != undefined && $('#new_message_cancel_btn').length!=0){ - $('#new_message_cancel_btn').click(); -} $('#new_form_reference_user_id').val(""); <% end %>