mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
fix beta-issue #648 위젯 박스 border, background-color 설정 시 문제 수정
This commit is contained in:
parent
bdc1f585eb
commit
a93df3970e
2 changed files with 17 additions and 13 deletions
|
|
@ -664,16 +664,20 @@ function doShowWidgetSizeSetup(px, py, obj) {
|
|||
|
||||
jQuery.each(opts, function(key, val){
|
||||
var el = form[0].elements[key];
|
||||
if (el)
|
||||
{
|
||||
el.value = val;
|
||||
if(el.className.match(/\bcolor-indicator\b/))
|
||||
{
|
||||
el.style.background = el.value = '#'+el.value;
|
||||
var $el = jQuery(el);
|
||||
if(el) {
|
||||
$el.val(val);
|
||||
|
||||
if($el.hasClass('color-indicator')) {
|
||||
if(val != 'transparent') {
|
||||
val = val.toUpperCase();
|
||||
$el.css('background', '#' + val);
|
||||
$el.val('#' + val);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (el.tagName.toLowerCase() == "select")
|
||||
{
|
||||
|
||||
if(el.tagName.toLowerCase() == "select") {
|
||||
if(el.selectedIndex == -1) {
|
||||
el.selectedIndex = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue