summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/_form.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-25 17:38:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-25 17:38:05 +0000
commit8610b191ae1a40ff58e90a1225d79c893a49b0d6 (patch)
tree33b98bcfe7d2fd1407602831794f3a05eff588c5 /app/views/custom_fields/_form.rhtml
parent01ef9f12c816fab283ebc7d96283abd3397c61c8 (diff)
downloadredmine-8610b191ae1a40ff58e90a1225d79c893a49b0d6.tar.gz
redmine-8610b191ae1a40ff58e90a1225d79c893a49b0d6.zip
Added "Float" as a custom field format.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@870 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields/_form.rhtml')
-rw-r--r--app/views/custom_fields/_form.rhtml9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml
index 32269e3f0..013be9b70 100644
--- a/app/views/custom_fields/_form.rhtml
+++ b/app/views/custom_fields/_form.rhtml
@@ -13,13 +13,6 @@ function toggle_custom_field_format() {
Element.hide(p_regexp.parentNode);
Element.show(p_values);
break;
- case "int":
- case "string":
- case "text":
- Element.show(p_length.parentNode);
- Element.show(p_regexp.parentNode);
- Element.hide(p_values);
- break;
case "date":
case "bool":
Element.hide(p_length.parentNode);
@@ -29,7 +22,7 @@ function toggle_custom_field_format() {
default:
Element.show(p_length.parentNode);
Element.show(p_regexp.parentNode);
- Element.show(p_values);
+ Element.hide(p_values);
break;
}
}