From 1996283bd435c74f9cef582936206b004a04daa4 Mon Sep 17 00:00:00 2001 From: yanxd Date: Sat, 28 Dec 2013 12:27:35 +0800 Subject: [PATCH] invoke char length js. --- app/views/words/create_reply.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/words/create_reply.js.erb b/app/views/words/create_reply.js.erb index 7c8e75990..965c58ed4 100644 --- a/app/views/words/create_reply.js.erb +++ b/app/views/words/create_reply.js.erb @@ -7,6 +7,7 @@ pre_append.fadeIn(600); $('#project_respond_form_<%=@jfm.m_reply_id.to_s%> textarea').val(''); $('#project_respond_form_<%=@jfm.m_reply_id.to_s%>').hide(); + setMaxLength(); <% else %> alert("<%= l(:label_feedback_fail) %>"); <% end %> \ No newline at end of file