mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUGFIX: Fixed warning on AssetAdmin (merged from trunk)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66940 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
170a0f256f
commit
fc14227238
@ -88,6 +88,16 @@ class AssetAdmin extends LeftAndMain {
|
|||||||
Requirements::css(THIRDPARTY_DIR . "/greybox/greybox.css");
|
Requirements::css(THIRDPARTY_DIR . "/greybox/greybox.css");
|
||||||
|
|
||||||
Requirements::css(CMS_DIR . "/css/AssetAdmin.css");
|
Requirements::css(CMS_DIR . "/css/AssetAdmin.css");
|
||||||
|
|
||||||
|
Requirements::customScript(<<<JS
|
||||||
|
_TREE_ICONS = {};
|
||||||
|
_TREE_ICONS['Folder'] = {
|
||||||
|
fileIcon: 'jsparty/tree/images/page-closedfolder.gif',
|
||||||
|
openFolderIcon: 'jsparty/tree/images/page-openfolder.gif',
|
||||||
|
closedFolderIcon: 'jsparty/tree/images/page-closedfolder.gif'
|
||||||
|
};
|
||||||
|
JS
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,12 +1,3 @@
|
|||||||
<script>
|
|
||||||
_TREE_ICONS = {};
|
|
||||||
_TREE_ICONS['Folder'] = {
|
|
||||||
fileIcon: 'jsparty/tree/images/page-closedfolder.gif',
|
|
||||||
openFolderIcon: 'jsparty/tree/images/page-openfolder.gif',
|
|
||||||
closedFolderIcon: 'jsparty/tree/images/page-closedfolder.gif'
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<h2><% _t('FOLDERS','Folders') %></h2>
|
<h2><% _t('FOLDERS','Folders') %></h2>
|
||||||
<div id="treepanes" style="overflow-y: auto;">
|
<div id="treepanes" style="overflow-y: auto;">
|
||||||
<ul id="TreeActions">
|
<ul id="TreeActions">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user