Reference correct css and javascript bundles

This commit is contained in:
Robbie Averill 2018-11-15 21:33:50 +02:00
parent 204ef6df53
commit 54b7d0ff72

View File

@ -149,11 +149,8 @@ class StringTagField extends DropdownField
*/
public function Field($properties = [])
{
Requirements::css('silverstripe/tagfield:css/select2.min.css');
Requirements::css('silverstripe/tagfield:css/TagField.css');
Requirements::javascript('silverstripe/tagfield:js/select2.js');
Requirements::javascript('silverstripe/tagfield:js/TagField.js');
Requirements::css('silverstripe/tagfield:client/dist/styles/bundle.css');
Requirements::javascript('silverstripe/tagfield:client/dist/js/bundle.js');
$this->addExtraClass('ss-tag-field');