BUGFIX: changed .change() to .click() on the custom rules handler to fix issue with changing checkboxs in IE8

This commit is contained in:
Will Rossiter 2009-09-16 21:36:02 +00:00
parent 8977e65471
commit 61edb74f36
1 changed files with 2 additions and 1 deletions

View File

@ -276,6 +276,7 @@ class UserDefinedForm_Controller extends Page_Controller {
// is this field a special option field
$checkboxField = false;
if(in_array($formFieldWatch->ClassName, array('EditableCheckboxGroupField', 'EditableCheckbox'))) {
$action = "click";
$checkboxField = true;
}
@ -512,7 +513,7 @@ JS
$body = strip_tags($recipient->EmailBody) . "\n ";
if(isset($emailData['Fields'])) {
foreach($emailData['Fields'] as $Field) {
$body .= $Field->Title .' - '. $Field->Value .'\n';
$body .= $Field->Title .' - '. $Field->Value .' \n';
}
}
$email->setBody($body);