diff --git a/admin/CargonizerAdmin.php b/admin/CargonizerAdmin.php index 395784f..d1ed6bd 100644 --- a/admin/CargonizerAdmin.php +++ b/admin/CargonizerAdmin.php @@ -213,16 +213,15 @@ function registerScripts(){ echo ''; echo ''; + wp_register_script( 'wcc-vue', $path. 'js/vue.js', false, '2.0.0' ); + wp_enqueue_script( 'wcc-vue' ); + wp_register_script( 'wcc-util', $path. 'js/wcc-util.js', false, WCC_Version ); wp_enqueue_script( 'wcc-util' ); wp_register_script( 'wcc-admin-ajax', $path. 'js/wcc-admin-ajax.js', false, WCC_Version ); wp_enqueue_script( 'wcc-admin-ajax' ); - - wp_register_script( 'wcc-vue', $path. 'js/vue.js', false, '2.0.0' ); - wp_enqueue_script( 'wcc-vue' ); - $screen = null; if ( function_exists('get_current_screen') ){ $screen = get_current_screen(); diff --git a/assets/js/wcc-admin-order.js b/assets/js/wcc-admin-order.js index ef6be51..7a2e32f 100644 --- a/assets/js/wcc-admin-order.js +++ b/assets/js/wcc-admin-order.js @@ -191,8 +191,6 @@ function shop_updateCarrierProduct(){ data.recurring_consignment_product_services = services; } }, - - }, beforeMount(){ this.updateProductTypes(); diff --git a/conf/conf.php b/conf/conf.php index 5e90e0e..704a5d3 100644 --- a/conf/conf.php +++ b/conf/conf.php @@ -1,6 +1,6 @@