From 60ef5ffdf2f39c627a6ddebedc0247519ace33e5 Mon Sep 17 00:00:00 2001 From: Yung Han Khoe Date: Fri, 28 Mar 2008 09:10:10 +0000 Subject: [PATCH] fixed: Form::FieldType->getTypes should exclude Form::Slider base class --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Form/FieldType.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 598c27af6..0ae8e75b3 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,7 @@ - make sure all tables are using UTF-8 - fixed: Poll question/answers with international text corrupted - fixed: Thingy: on demo sites the edit and delete icons in search results have wrong url's + - fixed: Form::FieldType->getTypes should exclude Form::Slider base class (Yung Han Khoe) - upgraded to TinyMCE 3 7.5.8 diff --git a/lib/WebGUI/Form/FieldType.pm b/lib/WebGUI/Form/FieldType.pm index 80c945726..bc617cd78 100644 --- a/lib/WebGUI/Form/FieldType.pm +++ b/lib/WebGUI/Form/FieldType.pm @@ -105,7 +105,7 @@ sub getTypes { my @types; foreach my $type (@rawTypes) { if ($type =~ /^(.*)\.pm$/) { - next if (isIn($1, qw/Control List DynamicField/)); + next if (isIn($1, qw/Control List DynamicField Slider/)); push(@types,$1); } }