From 2b26d544f9db855d67fdb34042abc31fa2ae3198 Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Tue, 5 Jun 2012 15:08:09 +1200 Subject: [PATCH 1/2] BUGFIX: Director::redirect is deprecated, use Controller. --- code/model/UserDefinedForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/model/UserDefinedForm.php b/code/model/UserDefinedForm.php index 5e65778..e82cf81 100755 --- a/code/model/UserDefinedForm.php +++ b/code/model/UserDefinedForm.php @@ -792,7 +792,7 @@ JS $referrer = (isset($data['Referrer'])) ? '?referrer=' . urlencode($data['Referrer']) : ""; - return Director::redirect($this->Link() . 'finished' . $referrer); + return $this->redirect($this->Link() . 'finished' . $referrer); } /** @@ -907,4 +907,4 @@ class UserDefinedForm_SubmittedFormEmail extends Email { public function __construct() { parent::__construct(); } -} \ No newline at end of file +} From 70bcac03ccee36e9d22bd81137876126da8aac6b Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Tue, 5 Jun 2012 17:11:12 +1200 Subject: [PATCH 2/2] BUGFIX: fix for the Chosen dropdown to show the items --- css/FieldEditor.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/css/FieldEditor.css b/css/FieldEditor.css index 661266e..5874248 100755 --- a/css/FieldEditor.css +++ b/css/FieldEditor.css @@ -127,6 +127,14 @@ float: left; display: block; } + #Fields_fields .EditableFormField .extraOptions select { + width: 221px; + } + #Fields_fields .EditableFormField .extraOptions .chzn-drop input { + font-size: 12px; + padding: 4px 20px 4px 5px; + float: none; + } #Fields_fields .EditableFormField a.addableOption, #Fields_fields .EditableFormField a.addCondition { background: url(../../cms/images/add.gif) no-repeat top left;