mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API CHANGE: Removed access to broken image editor feature
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@69730 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c02d69037a
commit
879c391a61
@ -106,9 +106,7 @@ class AssetTableField extends ComplexTableField {
|
|||||||
|
|
||||||
$tab->push(
|
$tab->push(
|
||||||
new LiteralField("ImageFull",
|
new LiteralField("ImageFull",
|
||||||
'<a id="ImageEditorActivator" href="javascript: void(0)">' . "<img id='thumbnailImage' src='{$thumbnail}?r=" . rand(1,100000) . "' alt='{$childData->Name}' /><p>"._t('AssetTableField.EDITIMAGE', 'Edit this image')."</p>" . '</a>' .
|
"<img id='thumbnailImage' src='{$thumbnail}?r=" . rand(1,100000) . "' alt='{$childData->Name}' />" )
|
||||||
'<script type="text/javascript" src="cms/javascript/ImageEditor/Activator.js"></script><script type="text/javascript">var imageActivator = new ImageEditor.Activator.initialize();Event.observe("ImageEditorActivator","click",imageActivator.onOpen);</script>'
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if(class_exists('GalleryFile')) {
|
if(class_exists('GalleryFile')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user