mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
r8098에서 이미지 크기를 가져오지 못하는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8122 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3ba9015c1e
commit
40db831c6a
2 changed files with 9 additions and 4 deletions
|
|
@ -15,15 +15,15 @@
|
|||
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->image_url}</div></th>
|
||||
<td><input type="text" id="image_url" value="{url_decode($manual_url)}" onblur="getImageScale();" class="inputTypeText w400" /></td>
|
||||
<td><input type="text" id="image_url" value="{url_decode($manual_url)}" class="inputTypeText w400" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->image_scale}</div></th>
|
||||
<td>
|
||||
<ul>
|
||||
<li><input type="text" id="width" value="0" size="4" class="inputTypeText" onblur="setScale('width');return false;" />px </li>
|
||||
<li><input type="text" id="height" value="0" size="4" class="inputTypeText" onblur="setScale('height');return false;" />px </li>
|
||||
<li><a href="#" onclick="getImageScale(); return false;" class="button"><span>{$lang->cmd_get_scale}</span></a></li>
|
||||
<li><input type="text" id="width" value="0" size="4" class="inputTypeText" />px </li>
|
||||
<li><input type="text" id="height" value="0" size="4" class="inputTypeText" />px </li>
|
||||
<li><a href="#" id="get_scale" class="button"><span>{$lang->cmd_get_scale}</span></a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -171,6 +171,11 @@
|
|||
$form = $('#fo');
|
||||
$form.find('#btn_insert').click(insertImage);
|
||||
if(typeof(opener) != "undefined") getImage();
|
||||
$form.find('#image_url').blur(getImageScale);
|
||||
$form.find('#get_scale').click(getImageScale);
|
||||
$form.find('#width').blur(function() { setScale('width') });
|
||||
$form.find('#height').blur(function() { setScale('height') });
|
||||
|
||||
});
|
||||
|
||||
}) (jQuery);
|
||||
Loading…
Add table
Add a link
Reference in a new issue