mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 00:59:58 +09:00
이미지 링크 컴포넌트 - 오류 수정한 것 (sandbox 리비전 r5381 이후에 수정된 것인데, r5381 이전에 수정한 것으로 생긴 문제점 수정)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5402 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f5f3136470
commit
995c29ecd2
2 changed files with 14 additions and 5 deletions
|
|
@ -57,7 +57,9 @@ function getImage() {
|
|||
xGetElementById('image_margin').value = margin;
|
||||
}
|
||||
|
||||
xGetElementById("image_border").value = border;
|
||||
if(border) {
|
||||
xGetElementById("image_border").value = border;
|
||||
}
|
||||
|
||||
xGetElementById("width").value = width;
|
||||
xGetElementById("height").value = height;
|
||||
|
|
@ -110,7 +112,7 @@ function insertImage(obj) {
|
|||
if(height) text+= " height=\""+height+"\"";
|
||||
if(link_url) text+= " link_url=\""+link_url+"\"";
|
||||
if(open_window=='Y') text+= " open_window=\"Y\"";
|
||||
if(align || border){
|
||||
if(align || border || margin){
|
||||
text+= " style=\"";
|
||||
if(align) text+= align+"; ";
|
||||
if(border) text+= "border: solid "+border+"px; ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue