summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-08 19:14:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-08 19:14:34 +0000
commit1454a711caf68cd687886ea9b8d44b3a027e6cbc (patch)
tree28b4150f52d46bc5d8ddae934be0faf6ff36d16c /app/views/repositories
parentfa95501fe5e8c97de4f5960c4eeecfe70d4455f2 (diff)
downloadredmine-1454a711caf68cd687886ea9b8d44b3a027e6cbc.tar.gz
redmine-1454a711caf68cd687886ea9b8d44b3a027e6cbc.zip
Diff style (inline or side by side) automatically saved as a user preference.
Fixed a Postgres test failure. git-svn-id: http://redmine.rubyforge.org/svn/trunk@893 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/diff.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/diff.rhtml b/app/views/repositories/diff.rhtml
index 5094f4713..c1c33a495 100644
--- a/app/views/repositories/diff.rhtml
+++ b/app/views/repositories/diff.rhtml
@@ -8,7 +8,7 @@
<% end %>
<% end %>
<p><label><%= l(:label_view_diff) %></label>
- <%= select_tag 'type', options_for_select([[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], params[:type]), :onchange => "if (this.value != '') {this.form.submit()}" %></p>
+ <%= select_tag 'type', options_for_select([[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], @diff_type), :onchange => "if (this.value != '') {this.form.submit()}" %></p>
<% end %>
<div class="autoscroll">