Skip to content

Commit

Permalink
Fixes fix icon path
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Aug 16, 2024
1 parent 8148bcf commit b5c49ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Contao/View/Contao2BackendView/TreePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ private function sortValues($values)
*/
public function generate()
{
$GLOBALS['TL_JAVASCRIPT']['cca.dc-general.vanillaGeneral'] = 'bundles/ccadcgeneral/js/vanillaGeneral.js';
$GLOBALS['TL_JAVASCRIPT']['cca.dc-general.vanillaGeneral'] = '/bundles/ccadcgeneral/js/vanillaGeneral.js';

$environment = $this->getEnvironment();

Expand Down Expand Up @@ -883,7 +883,7 @@ private function addOrderFieldToTemplate(ContaoBackendViewTemplate $template)
*/
public function generatePopup()
{
$GLOBALS['TL_JAVASCRIPT']['cca.dc-general.vanillaGeneral'] = 'bundles/ccadcgeneral/js/vanillaGeneral.js';
$GLOBALS['TL_JAVASCRIPT']['cca.dc-general.vanillaGeneral'] = '/bundles/ccadcgeneral/js/vanillaGeneral.js';

$environment = $this->getEnvironment();

Expand Down

0 comments on commit b5c49ae

Please sign in to comment.