mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
e2a704d127
commit
e77cfb1427
@ -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;
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user