mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX: fixed notice level error with old field name
This commit is contained in:
parent
e73015e6e5
commit
b3a73eac53
@ -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
|
||||
|
@ -91,7 +91,8 @@ div.FieldEditor ul a:hover {
|
||||
#Fields_fields {
|
||||
padding: 10px 0;
|
||||
}
|
||||
.fieldHandler {
|
||||
.fieldHandler,
|
||||
.handle {
|
||||
cursor: pointer;
|
||||
}
|
||||
.EditableFormField {
|
||||
|
Loading…
Reference in New Issue
Block a user