#164 위젯사이즈 설정을 저장할 때, 배경색을 지정하지 않으면 기본값이 #fff가 되는 오류 수정

This commit is contained in:
khongchi 2013-12-31 11:29:45 +09:00
parent b664ed1032
commit b55d474e54

View file

@ -764,7 +764,7 @@ function doApplyWidgetSize(fo_obj) {
selectedSizeWidget.style.marginBottom = _getSize(fo_obj.margin_bottom.value);
selectedSizeWidget.style.marginLeft = _getSize(fo_obj.margin_left.value);
if(!fo_obj.background_color.value || fo_obj.background_color.value == 'transparent') selectedSizeWidget.style.backgroundColor = 'transparent';
if(!fo_obj.background_color.value || fo_obj.background_color.value == '#' || fo_obj.background_color.value == 'transparent') selectedSizeWidget.style.backgroundColor = 'transparent';
else selectedSizeWidget.style.backgroundColor = _getBGColorStyle(fo_obj.background_color.value);
var image_url = fo_obj.background_image_url.value;