summaryrefslogtreecommitdiffstats
path: root/app/views/common
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-07 07:57:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-07 07:57:59 +0000
commit7b127ee489a134436ab457467c2da42e32aa652d (patch)
tree3b0437c386393ba8690998debd616a76a7f4b312 /app/views/common
parent09b95905dc2df3476ac46d2266bb6c9fd4bc2c93 (diff)
downloadredmine-7b127ee489a134436ab457467c2da42e32aa652d.tar.gz
redmine-7b127ee489a134436ab457467c2da42e32aa652d.zip
Show tabs for existing custom field types only and adds a view for choosing the type when adding a new custom field.
git-svn-id: http://svn.redmine.org/redmine/trunk@12849 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r--app/views/common/_tabs.html.erb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/common/_tabs.html.erb b/app/views/common/_tabs.html.erb
index 8cbcda51a..34fd570ea 100644
--- a/app/views/common/_tabs.html.erb
+++ b/app/views/common/_tabs.html.erb
@@ -1,5 +1,3 @@
-<% selected_tab = params[:tab] ? params[:tab].to_s : tabs.first[:name] %>
-
<div class="tabs">
<ul>
<% tabs.each do |tab| -%>