summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-18 20:35:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-18 20:35:16 +0000
commitbeb20e7c6e906b1b5c892841c1948cb50df86e3e (patch)
tree0b9b9c2736951f5a5ea5c306f93c02d6132700e7 /public/javascripts/application.js
parent111950108aca2f528ecb0ba00042d92d9b6a8c0d (diff)
downloadredmine-beb20e7c6e906b1b5c892841c1948cb50df86e3e.tar.gz
redmine-beb20e7c6e906b1b5c892841c1948cb50df86e3e.zip
Adds 'follows' relation (#1432).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3190 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 5221bf4ce..57419d0b0 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -124,7 +124,7 @@ function displayTabsButtons() {
function setPredecessorFieldsVisibility() {
relationType = $('relation_relation_type');
- if (relationType && relationType.value == "precedes") {
+ if (relationType && (relationType.value == "precedes" || relationType.value == "follows")) {
Element.show('predecessor_fields');
} else {
Element.hide('predecessor_fields');