Created
October 11, 2011 14:43
-
-
Save sameera207/1278271 to your computer and use it in GitHub Desktop.
ck-editor-filter - patch1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:javascript | |
Event.observe(window,'load',function(){ | |
instantiateCkEditor('#{page_part.name.downcase}') | |
Event.addBehavior({ 'a.insert_asset': InsertIntoCk }) | |
}) | |
Event.observe($('part_#{page_part.name.downcase}_filter_id'),'change',function(){ toggleEditor('#{page_part.name.downcase}') }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the patch for page-parts folder