|
|
@@ -110,6 +110,20 @@
|
|
|
html += '<button type="button" class="btn btn-danger btn-lg" onclick="fnDeleteContentsRow(this);">삭제</button></td>';
|
|
|
}
|
|
|
html += '</tr>';
|
|
|
+ if(contentsLoc=='SBM004' || contentsLoc=='SBM005'){
|
|
|
+ html += '<tr class="cateTypeTr">';
|
|
|
+ html += ' <th>클릭시<br>페이지창</th>';
|
|
|
+ html += ' <td colspan="3">';
|
|
|
+ if(result[i].contentsType=='SELF'){
|
|
|
+ html += ' <label class="rdoBtn"><input type="radio" name="pageTarget'+i+'" value="SELF" checked="checked"/>현재창</label>';
|
|
|
+ html += ' <label class="rdoBtn"><input type="radio" name="pageTarget'+i+'" value="BLANK" />새창</label>';
|
|
|
+ }else{
|
|
|
+ html += ' <label class="rdoBtn"><input type="radio" name="pageTarget'+i+'" value="SELF" />현재창</label>';
|
|
|
+ html += ' <label class="rdoBtn"><input type="radio" name="pageTarget'+i+'" value="BLANK" checked="checked"/>새창</label>';
|
|
|
+ }
|
|
|
+ html += ' </td>';
|
|
|
+ html += '</tr>';
|
|
|
+ }
|
|
|
if(contentsLoc=='SGNB001'){
|
|
|
html += '<tr class="cateTypeTr">';
|
|
|
html += ' <th>유형선택</th>';
|
|
|
@@ -449,6 +463,15 @@
|
|
|
}
|
|
|
html += '<button type="button" class="btn btn-danger btn-lg" onclick="fnDeleteContentsRow(this);">삭제</button></td>';
|
|
|
html += '</tr>';
|
|
|
+ if(contentsLoc=='SBM004' || contentsLoc=='SBM005'){
|
|
|
+ html += '<tr class="cateTypeTr">';
|
|
|
+ html += ' <th>클릭시<br>페이지창</th>';
|
|
|
+ html += ' <td colspan="3">';
|
|
|
+ html += ' <label class="rdoBtn"><input type="radio" name="pageTarget'+dataIdx+'" value="SELF" checked="checked"/>현재창</label>';
|
|
|
+ html += ' <label class="rdoBtn"><input type="radio" name="pageTarget'+dataIdx+'" value="BLANK" />새창</label>';
|
|
|
+ html += ' </td>';
|
|
|
+ html += '</tr>';
|
|
|
+ }
|
|
|
if(contentsLoc=='SGNB001'){
|
|
|
html += '<tr class="cateTypeTr">';
|
|
|
html += ' <th>유형선택</th>';
|
|
|
@@ -752,6 +775,10 @@
|
|
|
|
|
|
var dispOrd = $(this).find("[name=dispOrd]").val();
|
|
|
|
|
|
+ if(contentsLoc=='SBM004' || contentsLoc=='SBM005'){
|
|
|
+ var thisIdx = $(this).find("input[name=tableIdx]").val();
|
|
|
+ contentsType = $(this).find("input:radio[name=pageTarget"+thisIdx+"]:checked").val();
|
|
|
+ }
|
|
|
if(contentsLoc=='SGNB001'){
|
|
|
var thisIdx = $(this).find("input[name=tableIdx]").val();
|
|
|
contentsType = $(this).find("input:radio[name=cateType"+thisIdx+"]:checked").val();
|