Skip to content

Commit

Permalink
Merge pull request #483 from creative-commoners/pulls/2.5/behat
Browse files Browse the repository at this point in the history
FIX Move files to client directory
  • Loading branch information
GuySartorelli authored Jul 19, 2022
2 parents 2bab73e + 6e1b504 commit b9d972b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"dev-master": "2.x-dev"
},
"expose": [
"javascript",
"css"
"client/javascript",
"client/css"
]
},
"minimum-stability": "dev",
Expand Down
8 changes: 4 additions & 4 deletions src/Extensions/LeftAndMainSubsites.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ class LeftAndMainSubsites extends LeftAndMainExtension

public function init()
{
Requirements::css('silverstripe/subsites:css/LeftAndMain_Subsites.css');
Requirements::javascript('silverstripe/subsites:javascript/LeftAndMain_Subsites.js');
Requirements::javascript('silverstripe/subsites:javascript/VirtualPage_Subsites.js');
Requirements::css('silverstripe/subsites:client/css/LeftAndMain_Subsites.css');
Requirements::javascript('silverstripe/subsites:client/javascript/LeftAndMain_Subsites.js');
Requirements::javascript('silverstripe/subsites:client/javascript/VirtualPage_Subsites.js');
}

/**
Expand Down Expand Up @@ -150,7 +150,7 @@ public function ListSubsites()
return false;
}

Requirements::javascript('silverstripe/subsites:javascript/LeftAndMain_Subsites.js');
Requirements::javascript('silverstripe/subsites:client/javascript/LeftAndMain_Subsites.js');

$output = ArrayList::create();

Expand Down
2 changes: 1 addition & 1 deletion src/Forms/SubsitesTreeDropdownField.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function Field($properties = [])
{
$html = parent::Field($properties);

Requirements::javascript('silverstripe/subsites:javascript/SubsitesTreeDropdownField.js');
Requirements::javascript('silverstripe/subsites:client/javascript/SubsitesTreeDropdownField.js');

return $html;
}
Expand Down

0 comments on commit b9d972b

Please sign in to comment.