Prechádzať zdrojové kódy

메인 전시 관리 수정

bin2107 5 rokov pred
rodič
commit
84509f65ad

+ 2 - 2
src/main/webapp/WEB-INF/views/display/MainContentsPopupForm.html

@@ -106,8 +106,8 @@
 			}
 			if(contentsLoc!='SBM005' && contentsLoc!='SBMM005'){
 				html += '<button type="button" class="btn btn-base btn-lg" onclick="fnAddImgPopRow(this);">이미지추가</button>';
-				html += '<button type="button" class="btn btn-base btn-lg" onclick="fnAddLinkPopRow(this);">링크추가</button>';
 			}
+			html += '<button type="button" class="btn btn-base btn-lg" onclick="fnAddLinkPopRow(this);">링크추가</button>';
 			html += '<button type="button" class="btn btn-danger btn-lg" onclick="fnDeleteContentsRow(this);">삭제</button></td>';
 			html += '</tr></thead><tbody>';
 			for(var j=1; j<5; j++){
@@ -175,8 +175,8 @@
 		}
 		if(contentsLoc!='SBM005' && contentsLoc!='SBMM005') {
 			html += '<button type="button" class="btn btn-base btn-lg" onclick="fnAddImgPopRow(this);">이미지추가</button>';
-			html += '<button type="button" class="btn btn-base btn-lg" onclick="fnAddLinkPopRow(this);">링크추가</button>';
 		}
+		html += '<button type="button" class="btn btn-base btn-lg" onclick="fnAddLinkPopRow(this);">링크추가</button>';
 		html += '<button type="button" class="btn btn-danger btn-lg" onclick="fnDeleteContentsRow(this);">삭제</button></td>';
 		html += '</tr></thead><tbody></tbody></table>';
 		$("#popSortable").prepend(html);