Subversion Repositories wpShopGermany4

Compare Revisions

Ignore whitespace Rev 8375 → Rev 8383

/mods/mod_productvariants/produkt_addedit_content.phtml
148,19 → 148,13
</div>
</div>
<?php $GLOBALS['wpsg_vue_3.2.47_loaded'] = ($GLOBALS['wpsg_vue_3.2.47_loaded']??0) + 1; if ($GLOBALS['wpsg_vue_3.2.47_loaded'] <= 1) { ?>
<script src="<?php echo WPSG_URL_CONTENT.'plugins/'.WPSG_FOLDERNAME.'/views/js/vue-3.2.47.global.min.js'; ?>"></script>
<?php } ?>
<script>
<script type="module">
(() => {
 
const ref = Vue.ref;
const computed = Vue.computed;
const onMounted = Vue.onMounted;
 
const app = Vue.createApp({
import { ref, createApp, onMounted, computed } from '/wp-content/plugins/wpsg_ticket/assets/js/vue.esm-browser.js';
document.addEventListener('DOMContentLoaded', () => {
const app = createApp({
setup() {
 
const product_id = ref(<?php echo $oProduct->getId(); ?>);
418,7 → 412,7
 
});
 
})();
});
</script>