Merge branch 'master' of http://hylee@vcs.iten.co.kr:9999/hylee/mjon_git into 4812-hylee
@20ae689859102b388df65a52360077e79e36af96
--- src/main/webapp/js/kakao/at/alimtalkExcel.js
+++ src/main/webapp/js/kakao/at/alimtalkExcel.js
... | ... | @@ -222,9 +222,9 @@ |
| 222 | 222 |
function excelAddVarAjax(){
|
| 223 | 223 |
|
| 224 | 224 |
var varList = $("#excelTemplateContent").val().match(/#\{([^}]+)\}/g);
|
| 225 |
- |
|
| 225 |
+ var varListSize = new Set(varList); |
|
| 226 | 226 |
var form = document.excelVarFileForm; |
| 227 |
- form.excelVarCnt.value = varList.length; |
|
| 227 |
+ form.excelVarCnt.value = varListSize.size; |
|
| 228 | 228 |
form.excelVarList.value = varList; |
| 229 | 229 |
|
| 230 | 230 |
var data = new FormData(form); |
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?