From 8f3e3f6b8070d6887f0d267fcaea89579d909287 Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran <alfredo@gitlab.com> Date: Wed, 27 Jul 2016 03:24:11 -0500 Subject: [PATCH] Make sure Labels is instantiated on edit page --- app/assets/javascripts/dispatcher.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 308885dcfe..82435c51a0 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -183,7 +183,10 @@ new NamespaceSelects(); break; case 'labels': - new Labels(); + switch (path[2]) { + case 'edit': + new Labels(); + } } break; case 'dashboard': -- 2.30.9