Merge branch 'dev_newproject' of https://git.trustie.net/jacknudt/trustieforge into dev_newproject
This commit is contained in:
commit
75a05ba9c2
|
@ -160,5 +160,9 @@
|
||||||
}
|
}
|
||||||
// 里程碑添加默认选项
|
// 里程碑添加默认选项
|
||||||
$("#issue_fixed_version_id option[value='']").remove();
|
$("#issue_fixed_version_id option[value='']").remove();
|
||||||
$('#issue_fixed_version_id').prepend("<option value='0' selected='selected'>选择里程碑</option>")
|
<% if params[:action] == "new" %>
|
||||||
|
$('#issue_fixed_version_id').prepend("<option value='0' selected='selected'>选择里程碑</option>")
|
||||||
|
<% else %>
|
||||||
|
$('#issue_fixed_version_id').prepend("<option value='0'>选择里程碑</option>")
|
||||||
|
<% end %>
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue