--- src/main/webapp/WEB-INF/jsp/web/kakao/msgdata/ft/KakaoFriendsTalkMsgDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/kakao/msgdata/ft/KakaoFriendsTalkMsgDataView.jsp
... | ... | @@ -629,6 +629,7 @@ |
| 629 | 629 |
|
| 630 | 630 |
$('#imgTitle').removeClass('file_none')
|
| 631 | 631 |
.text(fileName); |
| 632 |
+ $('#imgLinkTemp').val($('#imgLink').val()); // 회색 처리 + 입력 불가
|
|
| 632 | 633 |
$('#imgLink').prop('disabled', true); // 회색 처리 + 입력 불가
|
| 633 | 634 |
|
| 634 | 635 |
|
... | ... | @@ -1146,9 +1147,7 @@ |
| 1146 | 1147 |
|
| 1147 | 1148 |
|
| 1148 | 1149 |
if(!confirm("친구톡을 발송하시겠습니까?")){
|
| 1149 |
- |
|
| 1150 | 1150 |
return false; |
| 1151 |
- |
|
| 1152 | 1151 |
} |
| 1153 | 1152 |
|
| 1154 | 1153 |
|
... | ... | @@ -1168,21 +1167,21 @@ |
| 1168 | 1167 |
// 2. buttonVOList 수동으로 수집 |
| 1169 | 1168 |
var buttonList = []; |
| 1170 | 1169 |
$('input[name^="buttonVOList"]').each(function() {
|
| 1171 |
- let nameAttr = $(this).attr('name');
|
|
| 1172 |
- let match = nameAttr.match(/buttonVOList\[(\d+)\]\.(\w+)/); |
|
| 1173 |
- |
|
| 1174 |
- if (match) {
|
|
| 1175 |
- let index = parseInt(match[1]); |
|
| 1176 |
- let key = match[2]; |
|
| 1177 |
- let value = $(this).val(); |
|
| 1178 |
- |
|
| 1179 |
- if (!buttonList[index]) buttonList[index] = {};
|
|
| 1180 |
- buttonList[index][key] = value; |
|
| 1181 |
- } |
|
| 1170 |
+ let nameAttr = $(this).attr('name');
|
|
| 1171 |
+ let match = nameAttr.match(/buttonVOList\[(\d+)\]\.(\w+)/); |
|
| 1172 |
+ if (match) {
|
|
| 1173 |
+ let index = parseInt(match[1]); |
|
| 1174 |
+ let key = match[2]; |
|
| 1175 |
+ let value = $(this).val(); |
|
| 1176 |
+ |
|
| 1177 |
+ if (!buttonList[index]) buttonList[index] = {};
|
|
| 1178 |
+ buttonList[index][key] = value; |
|
| 1179 |
+ } |
|
| 1182 | 1180 |
}); |
| 1183 | 1181 |
|
| 1184 | 1182 |
// 3. formData에 배열로 추가 |
| 1185 | 1183 |
formData["buttonVOList"] = buttonList; |
| 1184 |
+ // 회색 처리 + 입력 불가 |
|
| 1186 | 1185 |
|
| 1187 | 1186 |
// 4. 기존의 buttonVOList[0].xxx 형태 제거 |
| 1188 | 1187 |
Object.keys(formData).forEach(function(key) {
|
... | ... | @@ -1196,14 +1195,15 @@ |
| 1196 | 1195 |
delete formData[key]; |
| 1197 | 1196 |
}); |
| 1198 | 1197 |
|
| 1199 |
- |
|
| 1198 |
+ formData["imgLink"] = $('#imgLinkTemp').val();
|
|
| 1199 |
+ |
|
| 1200 | 1200 |
// 빈 값 제거 |
| 1201 | 1201 |
removeEmptyValues(formData); |
| 1202 | 1202 |
// 선택된 데이터 추가 |
| 1203 | 1203 |
formData["mjonFTSendVOList"] = $selectedData; |
| 1204 | 1204 |
// JSON 데이터 확인 |
| 1205 | 1205 |
console.log("최종 formData:", JSON.stringify(formData));
|
| 1206 |
- |
|
| 1206 |
+ |
|
| 1207 | 1207 |
|
| 1208 | 1208 |
// 프로그래스파 시간을 위한 계산 |
| 1209 | 1209 |
var estimtedTime = calculateEstimatedTime(tableL.getRows().length); |
... | ... | @@ -2097,7 +2097,7 @@ |
| 2097 | 2097 |
<div class="clearfix receipt_num"> |
| 2098 | 2098 |
<div class="receipt_num_top"> |
| 2099 | 2099 |
<label for="callTo" class="label">받는 번호입력</label> |
| 2100 |
- <input type="text" value="01012341234" placeholder="번호를 입력하세요" id="callTo" name="callTo" onfocus="this.placeholder=''" onblur="this.placeholder='번호를 입력하세요'" style="width:340px;"> |
|
| 2100 |
+ <input type="text" value="" placeholder="번호를 입력하세요" id="callTo" name="callTo" onfocus="this.placeholder=''" onblur="this.placeholder='번호를 입력하세요'" style="width:340px;"> |
|
| 2101 | 2101 |
<button type="button" class="btnType btnType6 addCallToF">번호추가</button> |
| 2102 | 2102 |
<span><span class="vMiddle">*</span> 중복번호는 한번만 발송됩니다.</span> |
| 2103 | 2103 |
</div> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?