summaryrefslogtreecommitdiff
path: root/views/mods/mod_orderupload
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_orderupload')
-rw-r--r--views/mods/mod_orderupload/basket_after.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/mods/mod_orderupload/basket_after.phtml b/views/mods/mod_orderupload/basket_after.phtml
index 1a391e4..544cea9 100644
--- a/views/mods/mod_orderupload/basket_after.phtml
+++ b/views/mods/mod_orderupload/basket_after.phtml
@@ -11,7 +11,7 @@
<script>
function wpsg_mod_orderupload_upload(product_index, product_id) {
-
+
var files = document.getElementById('wpsg_mod_orderupload_' + product_index + '_file').files;
var formData = new FormData();
@@ -62,7 +62,7 @@
url: wpsg_ajax.ajaxurl,
data: {
action: 'wpsg_mod_orderupload_delete',
- order_id: <?php echo $_SESSION['wpsg']['order_id'] ?>,
+ order_id: '<?php echo $_SESSION['wpsg']['order_id'] ?>',
product_index: product_index,
product_id: product_id,
file: file