Line 49... |
Line 49... |
49 |
|
49 |
|
50 |
<script type="text/javascript">/* <![CDATA[ */
|
50 |
<script type="text/javascript">/* <![CDATA[ */
|
51 |
|
51 |
|
52 |
<?php if ((wpsg_isSizedInt($this->view['product_id']) && $this->view['product_id'] == $var['product_id']) || (!wpsg_isSizedInt($var['product_id']) && !wpsg_isSizedInt($this->view['product_id']))) { ?>
|
52 |
<?php if ((wpsg_isSizedInt($this->view['product_id']) && $this->view['product_id'] == $var['product_id']) || (!wpsg_isSizedInt($var['product_id']) && !wpsg_isSizedInt($this->view['product_id']))) { ?>
|
53 |
|
53 |
|
54 |
jQuery('#productvariants_name_<?php echo $var['id']; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_productvariants&subaction=admin_inlineEdit&noheader=1', {
|
54 |
jQuery('#productvariants_name_<?php echo $var['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_productvariants&subaction=admin_inlineEdit&noheader=1', {
|
55 |
submitdata: {
|
55 |
submitdata: {
|
56 |
field: 'name',
|
56 |
field: 'name',
|
57 |
field_id: '<?php echo $var['id']; ?>'
|
57 |
field_id: '<?php echo $var['id']; ?>'
|
58 |
}
|
58 |
}
|
59 |
});
|
59 |
});
|
60 |
|
60 |
|
61 |
jQuery('#productvariants_type_<?php echo $var['id']; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_productvariants&subaction=admin_inlineEdit&noheader=1', {
|
61 |
jQuery('#productvariants_type_<?php echo $var['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_productvariants&subaction=admin_inlineEdit&noheader=1', {
|
62 |
submitdata: {
|
62 |
submitdata: {
|
63 |
field: 'type',
|
63 |
field: 'type',
|
64 |
field_id: '<?php echo $var['id']; ?>'
|
64 |
field_id: '<?php echo $var['id']; ?>'
|
65 |
},
|
65 |
},
|
66 |
data: '<?php echo json_encode(wpsg_mod_productvariants::$arTypeLabel); ?>',
|
66 |
data: '<?php echo json_encode(wpsg_mod_productvariants::$arTypeLabel); ?>',
|