diff --git a/src/shopcube/app.py b/src/shopcube/app.py
index c36ccee2..6dd12107 100644
--- a/src/shopcube/app.py
+++ b/src/shopcube/app.py
@@ -100,7 +100,9 @@ def create_app(config_name, configs=None):
def devstatic(boxormodule, filename):
if app.config["DEBUG"]:
module_static = os.path.join(modules_path, boxormodule, "static")
- return send_from_directory(module_static, filename=filename)
+ return send_from_directory(
+ os.path.normpath(module_static), filename=filename
+ )
available_everywhere_entities = {}
diff --git a/src/shopcube/modules/box__bizhelp/appointment/templates/appointment/index.html b/src/shopcube/modules/box__bizhelp/appointment/templates/appointment/index.html
index c00f52f1..608fb92a 100644
--- a/src/shopcube/modules/box__bizhelp/appointment/templates/appointment/index.html
+++ b/src/shopcube/modules/box__bizhelp/appointment/templates/appointment/index.html
@@ -38,7 +38,7 @@
var id = $(this).attr('name');
var ask = confirm("Do you want to delete ?");
if (ask == true) {
- window.location.replace("/appointment/delete/" + id, "_self");
+ window.location.replace("/appointment/delete/" + $.find(id), "_self");
return false;
} else {
diff --git a/src/shopcube/modules/box__ecommerce/shop/templates/shop/product.html b/src/shopcube/modules/box__ecommerce/shop/templates/shop/product.html
index a6e8b68f..eac987d1 100644
--- a/src/shopcube/modules/box__ecommerce/shop/templates/shop/product.html
+++ b/src/shopcube/modules/box__ecommerce/shop/templates/shop/product.html
@@ -40,7 +40,7 @@
}
-
+
+
+
+
{%endif%}