summaryrefslogtreecommitdiffstats
path: root/app/views/workflows
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-15 15:50:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-15 15:50:57 +0000
commit072475b8a5bce6a05a6d6b18b4240d81def6fad8 (patch)
tree70deecd8197ca516b9c901d103c69608af3cafd0 /app/views/workflows
parent071cf55fc8f14d1dc7b8c03374861e1436daff8a (diff)
downloadredmine-072475b8a5bce6a05a6d6b18b4240d81def6fad8.tar.gz
redmine-072475b8a5bce6a05a6d6b18b4240d81def6fad8.zip
Remember "Only display used statuses" checkbox value after update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/workflows')
-rw-r--r--app/views/workflows/edit.html.erb1
-rw-r--r--app/views/workflows/permissions.html.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/workflows/edit.html.erb b/app/views/workflows/edit.html.erb
index 25034e379..71db6ad4e 100644
--- a/app/views/workflows/edit.html.erb
+++ b/app/views/workflows/edit.html.erb
@@ -31,6 +31,7 @@
<%= form_tag({}, :id => 'workflow_form' ) do %>
<%= hidden_field_tag 'tracker_id', @tracker.id %>
<%= hidden_field_tag 'role_id', @role.id %>
+ <%= hidden_field_tag 'used_statuses_only', params[:used_statuses_only] %>
<div class="autoscroll">
<%= render :partial => 'form', :locals => {:name => 'always', :workflows => @workflows['always']} %>
diff --git a/app/views/workflows/permissions.html.erb b/app/views/workflows/permissions.html.erb
index 2e7c4e092..ecfadec02 100644
--- a/app/views/workflows/permissions.html.erb
+++ b/app/views/workflows/permissions.html.erb
@@ -30,6 +30,7 @@
<%= form_tag({}, :id => 'workflow_form' ) do %>
<%= hidden_field_tag 'tracker_id', @tracker.id %>
<%= hidden_field_tag 'role_id', @role.id %>
+ <%= hidden_field_tag 'used_statuses_only', params[:used_statuses_only] %>
<div class="autoscroll">
<table class="list fields_permissions">
<thead>