Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set initial value for dmail/compose when params['to'] is specified.

Fixes #205.
  • Loading branch information...
commit 2e22e1d130e165d0f5f43e39a7717af896eb4f4e 1 parent 9dbd1b6
@nanaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/dmail/_compose.html.erb
View
2  app/views/dmail/_compose.html.erb
@@ -16,7 +16,7 @@
<tr>
<th><label for="dmail_to_name"><%= t('.form.to') %></label></th>
<td>
- <%= text_field "dmail", "to_name", :class => 'ac-user-name' %>
+ <%= text_field "dmail", "to_name", :value => params[:to], :class => 'ac-user-name' %>
</td>
</tr>
<tr>
Please sign in to comment.
Something went wrong with that request. Please try again.