mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
이모티콘 경로 문제 수정
짧은 주소 사용시 https://~/mid/modules/path가 되지 않도록 수정 이모티콘 추가시 '추가되었다'는 메세지 띄움
This commit is contained in:
parent
64e1258f0c
commit
a721429f8b
5 changed files with 45 additions and 31 deletions
|
|
@ -1,6 +1,9 @@
|
|||
<load target="popup.js" />
|
||||
<load target="popup.less" />
|
||||
{@Context::addMetaTag('viewport', 'width=device-width', FALSE);}
|
||||
<script>
|
||||
var lang_success_added = '{$lang->success_added}';
|
||||
</script>
|
||||
<div class="x_modal-header">
|
||||
<h1>{$component_info->title}</h1>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -23,17 +23,17 @@ function completeGetEmoticons(ret_obj) {
|
|||
.width( parseInt(emoticons[i].width, 10))
|
||||
.height(parseInt(emoticons[i].height, 10))
|
||||
.attr({
|
||||
'src': './modules/editor/components/emoticon/tpl/images/'+emoticons[i].filename,
|
||||
'data-src': './modules/editor/components/emoticon/tpl/images/'+emoticons[i].filename,
|
||||
'src': emoticons[i].url,
|
||||
'data-src': emoticons[i].url,
|
||||
'alt': emoticons[i].alt
|
||||
});
|
||||
if( emoticons[i].svg ) {
|
||||
$img.attr({
|
||||
'data-svg': './modules/editor/components/emoticon/tpl/images/'+emoticons[i].svg
|
||||
'data-svg': emoticons[i].svg
|
||||
});
|
||||
if( typeof SVGRect !== "undefined" ) {
|
||||
$img.attr({
|
||||
'src': './modules/editor/components/emoticon/tpl/images/'+emoticons[i].svg
|
||||
'src': emoticons[i].svg
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -67,7 +67,8 @@ function insertEmoticon(obj) {
|
|||
win.editorRelKeys[win.editorPrevSrl].pasteHTML(html);
|
||||
|
||||
if (is_popup) window.focus();
|
||||
|
||||
|
||||
rhymix_alert(lang_success_added);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue