|
|
|
@ -16,6 +16,13 @@
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function EnterPress(e){
|
|
|
|
|
var e = e || window.event;
|
|
|
|
|
if(e.keyCode == 13){
|
|
|
|
|
alert("111");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
@ -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' %>
|
|
|
|
|
<div class="problem_search" >
|
|
|
|
|
<input class="problem_search_input fl" id="v_subject" type="text" name="v[subject]" value="">
|
|
|
|
|
<input class="problem_search_input fl" id="v_subject" type="text" name="v[subject]" value="" onkeypress="EnterPress(event)" onkeydown="EnterPress()">
|
|
|
|
|
<a href="javascript:void(0)" class="problem_search_btn fl" onclick="remote_function();" >搜索</a>
|
|
|
|
|
</div><!--problem_search end-->
|
|
|
|
|
|
|
|
|
|