Reverted r69684

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75828 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-05-01 03:27:11 +00:00
parent e2a704d127
commit e77cfb1427

View File

@ -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;
});
},
/**