aboutsummaryrefslogblamecommitdiffstats
path: root/public/assets/refinery/admin/wymeditor_monkeypatch.js
blob: ef31302b73096a4f1b4e3354fdaf22a439be6003 (plain) (tree)
1
                                                                                                                                                                                                                                                                                                    
$insert_video_link="<ul id='add_video'><li><a href='/refinery/videos/insert?dialog=true'>Add Video</a></li></ul>",window.onload=function(){$.wymeditors(0)&&($(".wym_area_top").append($insert_video_link),init_modal_dialogs())},onCloseDialog=function(){$("iframe#dialog_iframe").attr("src","")};