mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
minify js, css
This commit is contained in:
parent
80fa661fc7
commit
d330de47df
24 changed files with 9 additions and 69 deletions
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1 @@
|
|||
/*! Copyright (C) NAVER <http://www.navercorp.com> */
|
||||
jQuery(function(a){!function(){if(is_def(opener)){var b,c=a(opener.editorPrevNode).filter("img");c.length&&(b={url:c.attr("multimedia_src")||null,caption:c.attr("alt")||null,width:c.width()||400,height:c.height()||400,wmode:c.attr("wmode")||null},a.each(b,function(a,b){get_by_id("multimedia_"+a).value=b}),get_by_id("multimedia_auto_start").checked="true"==c.attr("auto_start"))}}(),a(".btnArea button").click(function(){if(is_def(opener)){var b=get_by_id("fo").elements.multimedia_wmode,c={alt:encodeURIComponent(get_by_id("multimedia_caption").value),width:get_by_id("multimedia_width").value||400,height:get_by_id("multimedia_height").value||400,wmode:b.value||b.options[0].value,auto_start:get_by_id("multimedia_auto_start").checked?"true":"false",multimedia_src:get_by_id("multimedia_url").value.replace(request_uri,"")};if(!c.multimedia_src)return window.close(),void 0;var d=a(opener.editorPrevNode);if(d.is("img")&&"multimedia_link"==d.attr("editor_component"))d.attr("multimedia_src",c.multimedia_src).attr("width",c.width).attr("height",c.height).attr("wmode",c.wmode).attr("auto_start",c.auto_start).attr("alt",c.alt).css("width",c.width+"px").css("height",c.height+"px");else{var e='<img src="../../../../common/img/blank.gif" editor_component="multimedia_link" multimedia_src="" width="" height="" wmode="" style="display:block;width:'+c.width+"px;height:"+c.height+'px;border:2px dotted #4371B9;background:url(./modules/editor/components/multimedia_link/tpl/multimedia_link_component.gif) no-repeat center" auto_start="" alt="" />';e=e.replace(/(\w+)=""/g,function(a,b){return c[b]?b+'="'+c[b]+'"':""}),opener.editorFocus(opener.editorPrevSrl);var f=opener.editorGetIFrame(opener.editorPrevSrl);opener.editorReplaceHTML(f,e)}opener.editorFocus(opener.editorPrevSrl),window.close()}})});
|
||||
Loading…
Add table
Add a link
Reference in a new issue