#1309 项目缺陷项目下拉框固定宽度

This commit is contained in:
sw 2014-08-14 16:39:07 +08:00
parent 4a0f11dfce
commit 5f559fcb67
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,11 @@
<script type="text/javascript">
window.onready = function()
{
$("#issue_project_id").css("width","300px");
$("#issue_project_id").css("overflow ","hidden");
//issue_project_id
}
</script>
<%= labelled_fields_for :issue, @issue do |f| %> <%= labelled_fields_for :issue, @issue do |f| %>
<%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %> <%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %>