bin2107 5 anni fa
parent
commit
407572979c
1 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 4 3
      src/main/webapp/WEB-INF/views/display/MainListForm.html

+ 4 - 3
src/main/webapp/WEB-INF/views/display/MainListForm.html

@@ -322,7 +322,6 @@
 	* 레이아웃 행추가 버튼
 	*/
 	$("#btnAddRow").on("click", function (){
-		console.log('[행추가 start]');
 		var val = $("#searchForm select[name=cate1No]").val();
 		var cate1No = val.split(',')[0];
 		//console.log('val>>'+val);
@@ -397,9 +396,9 @@
 
 			html += '" style="text-align:center; max-width:'+maxWidth+'px;">';
 			html += '<div>';
-			html += '<select name="contentsLocEdit" required="required" style="max-width:80px;" data-valid-name="컨텐츠 위치">'+contentsLocHtml+'</select>';
+			html += '<select name="contentsLocEdit" required="required" style="max-width:300px;" data-valid-name="컨텐츠 위치">'+contentsLocHtml+'</select>';
 			html += '</div>';
-			html += '<select name="contentsYn" required="required" style="max-width:80px;" data-valid-name="컨텐츠 타입"><option value="C">[C] 컨텐츠</option><option value="G">[G] 상품</option><option value="A">[A] 컨텐츠 + 상품</option></select>';
+			html += '<select name="contentsYn" required="required" style="max-width:160px;" data-valid-name="컨텐츠 타입"><option value="C">[C] 컨텐츠</option><option value="G">[G] 상품</option><option value="A">[A] 컨텐츠 + 상품</option></select>';
 			html += '<input type="hidden" name="contentsLoc" value=""/>';
 			html += '<input type="hidden" name="colCnt" value="'+colCnt+'"/>';
 			html += '<input type="hidden" name="colNo" value="'+colNo+'"/>';
@@ -486,6 +485,7 @@
 		var dataArr = [];
 		var contentLocArr = [];
 		var contentLocCheck = true;
+
 		$("#mainSortable tbody").each(function(ind){
 			var orgFileNm = $(this).find('input:hidden[name="orgFileNm"]').val();
 			var sysFileNm = $(this).find('input:hidden[name="sysFileNm"]').val();
@@ -533,6 +533,7 @@
 			mcxDialog.alert('위치코드가 중복 되었습니다.');
 			return;
 		}
+
 		if(dataArr.length==0){
 			mcxDialog.alert("저장할 데이터가 없습니다.");
 			return;