diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html
index c0e98db2f9..23244be5c5 100644
--- a/InvenTree/stock/templates/stock/location.html
+++ b/InvenTree/stock/templates/stock/location.html
@@ -4,8 +4,23 @@
{% include "stock/loc_link.html" with location=location %}
-
{{ location.name }}
-{{ location.description }}
+
+
+
{{ location.name }}
+
{{ location.description }}
+
+
+
+
+
+
+
+
{% if location.has_children %}
Sub Locations
@@ -18,11 +33,7 @@
{% endif %}
-
-
-
-
-
+
{% include 'modals.html' %}
@@ -43,6 +54,7 @@
},
follow: true
});
+ return false;
});
$('#location-edit').click(function() {
@@ -51,6 +63,7 @@
{
reload: true
});
+ return false;
});
$('#location-delete').click(function() {
@@ -59,9 +72,10 @@
{
redirect: "{% url 'stock-index' %}"
});
+ return false;
})
- $('#new-item').click(function () {
+ $('#item-create').click(function () {
launchModalForm("#modal-form",
"{% url 'stock-item-create' %}",
{