From f979edef8e159e0f6dc6ef2fe7b3231059909198 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 14 May 2019 23:47:15 +1000 Subject: [PATCH] Prevent double loading of stock.js --- InvenTree/part/templates/part/category.html | 1 - InvenTree/part/templates/part/detail.html | 1 - InvenTree/part/templates/part/part_app_base.html | 1 + InvenTree/part/templates/part/stock.html | 1 - InvenTree/stock/templates/stock/location.html | 1 - 5 files changed, 1 insertion(+), 4 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index c9f6aef94d..3abef26af9 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -61,7 +61,6 @@ {% endblock %} {% block js_load %} {{ block.super }} - {% endblock %} {% block js_ready %} {{ block.super }} diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index b06ab54a52..787e071036 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -129,7 +129,6 @@ {% block js_load %} {{ block.super }} - {% endblock %} {% block js_ready %} diff --git a/InvenTree/part/templates/part/part_app_base.html b/InvenTree/part/templates/part/part_app_base.html index 95c3f26c28..adf9d67617 100644 --- a/InvenTree/part/templates/part/part_app_base.html +++ b/InvenTree/part/templates/part/part_app_base.html @@ -29,6 +29,7 @@ InvenTree | Part List {% block js_load %} {{ block.super }} + {% endblock %} {% block js_ready %} diff --git a/InvenTree/part/templates/part/stock.html b/InvenTree/part/templates/part/stock.html index 0a9747bc7c..3311dafb8d 100644 --- a/InvenTree/part/templates/part/stock.html +++ b/InvenTree/part/templates/part/stock.html @@ -37,7 +37,6 @@ {% block js_load %} {{ block.super }} - {% endblock %} {% block js_ready %} {{ block.super }} diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index df58296b23..f05b14c77b 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -69,7 +69,6 @@ {% block js_load %} {{ block.super }} - {% endblock %} {% block js_ready %} {{ block.super }}