Skip to content

Commit

Permalink
BUGFIX Added a clearing div after the date and time fields, not the b…
Browse files Browse the repository at this point in the history
…est way of doing it but the only way as the overflow css trick for clearing fields doesn't work with the time dropdown (from r107811)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112698 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sam Minnee committed Oct 18, 2010
1 parent 30efd55 commit ea50868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms/DatetimeField.php
Expand Up @@ -49,7 +49,7 @@ function setForm($form) {
function Field() {
Requirements::css(SAPPHIRE_DIR . '/css/DatetimeField.css');

return $this->dateField->FieldHolder() . $this->timeField->FieldHolder();
return $this->dateField->FieldHolder() . $this->timeField->FieldHolder() . '<div class="clear"><!-- --></div>';
}

/**
Expand Down

0 comments on commit ea50868

Please sign in to comment.