|
|
@@ -325,6 +325,13 @@
|
|
|
dupCnt++;
|
|
|
return false;
|
|
|
}
|
|
|
+ $("#tabTable"+thisIdx+" #tabBrand1 #brandListTd1").find('ul').find('input[name=imgPath1]').each(function (j){
|
|
|
+ if(gagajf.isNull($(this).val()) || $(this).val() == "null"){
|
|
|
+ mcxDialog.alert((i+1)+"번째 컨텐츠영역 GROUP1의 "+(j+1)+"번째 브랜드 이미지 정보가 없습니다.");
|
|
|
+ dupCnt++;
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
if($("#tabTable"+thisIdx+" #tabBrand2 #brandListTd2").find('ul').find('input[name=brandGroupNo]').length < 1){
|
|
|
mcxDialog.alert((i+1)+"번째 컨텐츠영역의 2번째 브랜드 정보가 없습니다.");
|
|
|
@@ -332,6 +339,13 @@
|
|
|
dupCnt++;
|
|
|
return false;
|
|
|
}
|
|
|
+ $("#tabTable"+thisIdx+" #tabBrand2 #brandListTd2").find('ul').find('input[name=imgPath1]').each(function (k){
|
|
|
+ if(gagajf.isNull($(this).val()) || $(this).val() == "null"){
|
|
|
+ mcxDialog.alert((i+1)+"번째 컨텐츠영역 GROUP2의 "+(k+1)+"번째 브랜드 이미지 정보가 없습니다.");
|
|
|
+ dupCnt++;
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ });
|
|
|
|
|
|
if($("#tabTable"+thisIdx+" #tabBrand3 #brandListTd3").find('ul').find('input[name=brandGroupNo]').length < 1){
|
|
|
mcxDialog.alert((i+1)+"번째 컨텐츠영역의 3번째 브랜드 정보가 없습니다.");
|
|
|
@@ -339,6 +353,13 @@
|
|
|
dupCnt++;
|
|
|
return false;
|
|
|
}
|
|
|
+ $("#tabTable"+thisIdx+" #tabBrand3 #brandListTd3").find('ul').find('input[name=imgPath1]').each(function (m){
|
|
|
+ if(gagajf.isNull($(this).val()) || $(this).val() == "null"){
|
|
|
+ mcxDialog.alert((i+1)+"번째 컨텐츠영역 GROUP3의 "+(m+1)+"번째 브랜드 이미지 정보가 없습니다.");
|
|
|
+ dupCnt++;
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
// if(!dataBool){
|
|
|
@@ -670,6 +691,9 @@
|
|
|
for(let k=0; k<g1cdArr.length; k++){
|
|
|
html += '<ul id="brandUl' + k + '" class="item ui-state-default brandClass" style="min-height:80px;max-height:80px;">';
|
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g1cdArr[k] + '">';
|
|
|
+ if(!gagajf.isNull(g1imgArr)){
|
|
|
+ html += ' <input type="hidden" name="imgPath1" value="' + g1imgArr[k] + '">';
|
|
|
+ }
|
|
|
html += ' <li class="img">';
|
|
|
if(gagajf.isNull(g1imgArr)){
|
|
|
html += ' <img style="height:65px;" src="" onerror="this.src=\'/image/no.png\';"/>';
|
|
|
@@ -701,6 +725,9 @@
|
|
|
for(let m=0; m<g2cdArr.length; m++){
|
|
|
html += '<ul id="brandUl' + m + '" class="item ui-state-default brandClass" style="min-height:80px;max-height:80px;">';
|
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g2cdArr[m] + '">';
|
|
|
+ if(!gagajf.isNull(g2imgArr)){
|
|
|
+ html += ' <input type="hidden" name="imgPath1" value="' + g2imgArr[m] + '">';
|
|
|
+ }
|
|
|
html += ' <li class="img">';
|
|
|
if(gagajf.isNull(g2imgArr)){
|
|
|
html += ' <img style="height:65px;" src="" onerror="this.src=\'/image/no.png\';"/>';
|
|
|
@@ -732,6 +759,9 @@
|
|
|
for(let n=0; n<g3cdArr.length; n++){
|
|
|
html += '<ul id="brandUl' + n + '" class="item ui-state-default brandClass" style="min-height:80px;max-height:80px;">';
|
|
|
html += ' <input type="hidden" name="brandGroupNo" value="' + g3cdArr[n] + '">';
|
|
|
+ if(!gagajf.isNull(g3imgArr)){
|
|
|
+ html += ' <input type="hidden" name="imgPath1" value="' + g3imgArr[n] + '">';
|
|
|
+ }
|
|
|
html += ' <li class="img">';
|
|
|
if(gagajf.isNull(g3imgArr)){
|
|
|
html += ' <img style="height:65px;" src="" onerror="this.src=\'/image/no.png\';"/>';
|