Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ENHANCEMENT Added class to time icon in TimeField so it can be styled…

… (from r107810)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112697 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 30efd55852a7c7890608cb510cd4acd231ac6d46 1 parent c5f4926
@sminnee sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  forms/TimeField.php
View
2  forms/TimeField.php
@@ -77,7 +77,7 @@ protected function FieldDriver($html) {
Requirements::javascript(SAPPHIRE_DIR . '/javascript/TimeField_dropdown.js');
Requirements::css(SAPPHIRE_DIR . '/css/TimeField_dropdown.css');
- $html .= sprintf('<img src="sapphire/images/clock-icon.gif" id="%s-icon"/>', $this->id());
+ $html .= sprintf('<img class="timeIcon" src="sapphire/images/clock-icon.gif" id="%s-icon"/>', $this->id());
$html .= sprintf('<div class="dropdownpopup" id="%s-dropdowntime"></div>', $this->id());
$html = '<div class="dropdowntime">' . $html . '</div>';
}
Please sign in to comment.
Something went wrong with that request. Please try again.