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:
Sam Minnee 2009-01-05 23:14:11 +00:00
parent c02d69037a
commit 879c391a61

View File

@ -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')) {