From 7e7ff92f7c2591cae32680697b28bb26a1c83e8c Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 23 Apr 2015 17:02:26 +0800 Subject: [PATCH] =?UTF-8?q?issueenter=E9=94=AE=E4=B8=8D=E8=83=BD=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/index.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index d260d6eef..3fb604f06 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -19,7 +19,7 @@ function EnterPress(e){ var e = e || window.event; if(e.keyCode == 13){ - alert("111"); + remote_function(); } } @@ -31,7 +31,7 @@
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %> - <%= form_tag({:controller => 'issues', :action => 'index', :project_id => @project}, :method => :get,:id=>"issue_query_form", :class => 'query_form') do %> + <%#= 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' %>
- <% end %> + <%# end %>

<%= l(:label_issues_sum) %>:<%= @project.issues.count %> <%= l(:lable_issues_undo) %>:<%= @project.issues.where('status_id in (1,2,4,6)').count %>