From e77cfb1427fca03a2270e87afbe80e1e8b7e2422 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 1 May 2009 03:27:11 +0000 Subject: [PATCH] Reverted r69684 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75828 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/TinyMCEImageEnhancement.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/javascript/TinyMCEImageEnhancement.js b/javascript/TinyMCEImageEnhancement.js index 564f0745..6f07cf53 100644 --- a/javascript/TinyMCEImageEnhancement.js +++ b/javascript/TinyMCEImageEnhancement.js @@ -16,17 +16,6 @@ TinyMCEImageEnhancement.prototype = { Event.observe($('FolderOk'),'click',this.onFolderOk.bind(this)); Event.observe($('FolderCancel'),'click',this.onFolderCancel.bind(this)); Event.observe($('UploadFiles'),'click',this.onUpload.bind(this)); - - jQuery("#ImageAligmentStyle a").click(function() { - id = jQuery(this).attr('id'); - jQuery(this).siblings().removeClass('selected'); - jQuery(this).addClass('selected'); - // get alignment from id, e.g. ImageAlignment_center -> center - aligment = id.split('_')[1]; - $('Form_EditorToolbarImageForm_CSSClass').value = aligment; - - return false; - }); }, /**