From 4c1259ff925e6cecd332c3cf34c265b615c8210f Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 23 Apr 2015 16:56:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E9=99=B7enter=E9=94=AE=E7=9B=98?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E6=90=9C=E7=B4=A2=EF=BC=88=E6=9C=AA=E5=AE=8C?= =?UTF-8?q?=E6=88=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/index.html.erb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index ac5a46bfe..d260d6eef 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -16,6 +16,13 @@ }); } + function EnterPress(e){ + var e = e || window.event; + if(e.keyCode == 13){ + alert("111"); + } + } + @@ -27,7 +34,7 @@ <%= form_tag({:controller => 'issues', :action => 'index', :project_id => @project}, :method => :get,:id=>"issue_query_form", :class => 'query_form') do %> <%= hidden_field_tag 'set_filter', '1' %>