mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #232 from drzax/urlsegmentfield
FIX: Load required CSS and translation files for SiteTreeURLSegmentField
This commit is contained in:
commit
625d5062a2
@ -27,6 +27,8 @@ class SiteTreeURLSegmentField extends TextField {
|
||||
|
||||
public function Field($properties = array()) {
|
||||
Requirements::javascript(CMS_DIR . '/javascript/SiteTreeURLSegmentField.js');
|
||||
Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang', false, true);
|
||||
Requirements::css(CMS_DIR . "/css/screen.css");
|
||||
return parent::Field($properties);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user