상품복사에서 form 태그 추가
This commit is contained in:
@ -8,6 +8,7 @@ $g4['title'] = '상품 복사';
|
||||
include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<form name="fitemcopy">
|
||||
<div class="cbox">
|
||||
<h1>상품 복사</h1>
|
||||
|
||||
@ -15,7 +16,7 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="new_it_id">상품코드</label></th>
|
||||
<td><input type="text" value="<?php echo time(); ?>" id="new_it_id" class="frm_input"></td>
|
||||
<td><input type="text" name="new_it_id" value="<?php echo time(); ?>" id="new_it_id" class="frm_input"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -29,12 +30,14 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
</form>
|
||||
|
||||
<script>
|
||||
// <![CDATA[
|
||||
function _copy(link)
|
||||
{
|
||||
var new_it_id = document.getElementById('new_it_id').value;
|
||||
opener.parent.location.href = encodeURI(link+'&new_it_id='+new_it_id);
|
||||
opener.parent.location.href = encodeURI(link+'&new_it_id='+new_it_id);
|
||||
self.close();
|
||||
}
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user