mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT Added class to time icon in TimeField so it can be styled
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@107810 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e8cc316c1a
commit
a5feec12d0
@ -77,7 +77,7 @@ class TimeField extends TextField {
|
|||||||
Requirements::javascript(SAPPHIRE_DIR . '/javascript/TimeField_dropdown.js');
|
Requirements::javascript(SAPPHIRE_DIR . '/javascript/TimeField_dropdown.js');
|
||||||
Requirements::css(SAPPHIRE_DIR . '/css/TimeField_dropdown.css');
|
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 .= sprintf('<div class="dropdownpopup" id="%s-dropdowntime"></div>', $this->id());
|
||||||
$html = '<div class="dropdowntime">' . $html . '</div>';
|
$html = '<div class="dropdowntime">' . $html . '</div>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user