출력 설정 수정

main
이범준 12 months ago
parent 87f04a7cd1
commit 42c9885cbc

@ -150,9 +150,9 @@
<td data-col="textSort" class="text-center"> <td data-col="textSort" class="text-center">
<button type="button" class="btn btn-xs btn-outline-dark h-px-25 px-1">◀</button> <button type="button" class="btn btn-xs btn-outline-dark h-px-25 px-1">◀</button>
<select class="form-select no-bgi w-automin"> <select class="form-select no-bgi w-automin">
<option value="left">왼쪽</option> <option value="left" title="왼쪽">■□□</option>
<option value="center">가운데</option> <option value="center" title="가운데">□■□</option>
<option value="right">오른쪽</option> <option value="right" title="오른쪽">□□■</option>
</select> </select>
<button type="button" class="btn btn-xs btn-outline-dark h-px-25 px-1">▶</button> <button type="button" class="btn btn-xs btn-outline-dark h-px-25 px-1">▶</button>
</td> </td>
@ -173,21 +173,21 @@
</td> </td>
<td data-col="fontColor" class="text-center"> <td data-col="fontColor" class="text-center">
<select class="form-select no-bgi w-automin"> <select class="form-select no-bgi w-automin">
<option value="BLACK"></option> <option title="검정" value="BLACK"></option>
<option value="RED"></option> <option title="빨강" value="RED"></option>
<option value="ORANGE"></option> <option title="주황" value="ORANGE"></option>
<option value="YELLOW"></option> <option title="노랑" value="YELLOW"></option>
<option value="YELLOW_GREEN"></option> <option title="연두" value="YELLOW_GREEN"></option>
<option value="GREEN"></option> <option title="초록" value="GREEN"></option>
<option value="CYAN"></option> <option title="청록" value="CYAN"></option>
<option value="BLUE"></option> <option title="파랑" value="BLUE"></option>
<option value="VIOLET"></option> <option title="보라" value="VIOLET"></option>
<option value="MAGENTA"></option> <option title="마젠타" value="MAGENTA"></option>
<option value="DEEP_PINK"></option> <option title="짙은분홍" value="DEEP_PINK"></option>
<option value="DARK_GREY"></option> <option title="밝은회색" value="DARK_GREY"></option>
<option value="GREY"></option> <option title="회색" value="GREY"></option>
<option value="LIGHT_GREY"></option> <option title="어두운회색" value="LIGHT_GREY"></option>
<option value="WHITE"></option> <option title="하양" value="WHITE"></option>
</select> </select>
</td> </td>
<td data-col="fontStyle" class="text-center"> <td data-col="fontStyle" class="text-center">

@ -34,10 +34,12 @@ function fnMakeOptionStyleSelect(selectEl){
if(selected.length <= 0){ if(selected.length <= 0){
selectEl.dataset.optionStyle = ""; selectEl.dataset.optionStyle = "";
selectEl.title = "";
return; return;
} }
selectEl.dataset.optionStyle = selected.val(); selectEl.dataset.optionStyle = selected.val();
selectEl.title = selected[0].title;
}; };
$(selectEl).on("change", function(){ $(selectEl).on("change", function(){

Loading…
Cancel
Save