mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Merge pull request #483 from creative-commoners/pulls/2.5/behat
FIX Move files to client directory
This commit is contained in:
commit
b9d972b7fd
@ -38,8 +38,8 @@
|
|||||||
"dev-master": "2.x-dev"
|
"dev-master": "2.x-dev"
|
||||||
},
|
},
|
||||||
"expose": [
|
"expose": [
|
||||||
"javascript",
|
"client/javascript",
|
||||||
"css"
|
"client/css"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
|
@ -41,9 +41,9 @@ class LeftAndMainSubsites extends LeftAndMainExtension
|
|||||||
|
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
Requirements::css('silverstripe/subsites:css/LeftAndMain_Subsites.css');
|
Requirements::css('silverstripe/subsites:client/css/LeftAndMain_Subsites.css');
|
||||||
Requirements::javascript('silverstripe/subsites:javascript/LeftAndMain_Subsites.js');
|
Requirements::javascript('silverstripe/subsites:client/javascript/LeftAndMain_Subsites.js');
|
||||||
Requirements::javascript('silverstripe/subsites:javascript/VirtualPage_Subsites.js');
|
Requirements::javascript('silverstripe/subsites:client/javascript/VirtualPage_Subsites.js');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -150,7 +150,7 @@ class LeftAndMainSubsites extends LeftAndMainExtension
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Requirements::javascript('silverstripe/subsites:javascript/LeftAndMain_Subsites.js');
|
Requirements::javascript('silverstripe/subsites:client/javascript/LeftAndMain_Subsites.js');
|
||||||
|
|
||||||
$output = ArrayList::create();
|
$output = ArrayList::create();
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ class SubsitesTreeDropdownField extends TreeDropdownField
|
|||||||
{
|
{
|
||||||
$html = parent::Field($properties);
|
$html = parent::Field($properties);
|
||||||
|
|
||||||
Requirements::javascript('silverstripe/subsites:javascript/SubsitesTreeDropdownField.js');
|
Requirements::javascript('silverstripe/subsites:client/javascript/SubsitesTreeDropdownField.js');
|
||||||
|
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user