\ No newline at end of file
diff --git a/core/templates/panels/context.html b/core/templates/window-content/context.html
similarity index 100%
rename from core/templates/panels/context.html
rename to core/templates/window-content/context.html
diff --git a/core/templates/panels/context_table.html b/core/templates/window-content/context_table.html
similarity index 100%
rename from core/templates/panels/context_table.html
rename to core/templates/window-content/context_table.html
diff --git a/core/templates/panels/drilldown.html b/core/templates/window-content/drilldown.html
similarity index 100%
rename from core/templates/panels/drilldown.html
rename to core/templates/window-content/drilldown.html
diff --git a/core/templates/windows/drilldown.html b/core/templates/windows/drilldown.html
index e311f1f..b8aebb9 100644
--- a/core/templates/windows/drilldown.html
+++ b/core/templates/windows/drilldown.html
@@ -5,5 +5,5 @@
{% endblock %}
{% block panel_content %}
- {% include 'panels/drilldown.html' %}
+ {% include 'window-content/drilldown.html' %}
{% endblock %}
\ No newline at end of file
diff --git a/core/views/ui/drilldown.py b/core/views/ui/drilldown.py
index 35dba46..a331421 100644
--- a/core/views/ui/drilldown.py
+++ b/core/views/ui/drilldown.py
@@ -422,6 +422,8 @@ class ThresholdInfoModal(APIView):
return JsonResponse({"success": False})
if type == "window":
self.template_name = "windows/drilldown.html"
+ elif type == "widget":
+ self.template_name = "widgets/drilldown.html"
net = request.data["net"]
nick = request.data["nick"]