From b3a73eac53322017e0719b20231b7bdeffacf2b1 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sun, 19 Apr 2009 07:34:30 +0000 Subject: [PATCH] BUGFIX: fixed notice level error with old field name --- code/editor/FieldEditor.php | 3 +-- css/FieldEditor.css | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/editor/FieldEditor.php b/code/editor/FieldEditor.php index 6b8ed55..2874ed9 100755 --- a/code/editor/FieldEditor.php +++ b/code/editor/FieldEditor.php @@ -92,9 +92,8 @@ class FieldEditor extends FormField { $fieldSet = $record->$name(); // @todo shouldn't we deal with customFormActions on that object? - $record->EmailTo = $_REQUEST[$name]['EmailTo']; $record->EmailOnSubmit = isset( $_REQUEST[$name]['EmailOnSubmit'] ) ? "1" : "0"; - $record->SubmitButtonText = $_REQUEST[$name]['SubmitButtonText']; + $record->SubmitButtonText = isset($_REQUEST[$name]['SubmitButtonText']) ? $_REQUEST[$name]['SubmitButtonText'] : ""; $record->ShowClearButton = isset($_REQUEST[$name]['ShowClearButton']) ? "1" : "0"; // store the field IDs and delete the missing fields diff --git a/css/FieldEditor.css b/css/FieldEditor.css index 7e7b406..9146ce9 100755 --- a/css/FieldEditor.css +++ b/css/FieldEditor.css @@ -91,7 +91,8 @@ div.FieldEditor ul a:hover { #Fields_fields { padding: 10px 0; } -.fieldHandler { +.fieldHandler, +.handle { cursor: pointer; } .EditableFormField {