From c7e2d434a2a0b05c2eb24a0081a626cd3ad0cc90 Mon Sep 17 00:00:00 2001 From: bjoe2k4 Date: Fri, 30 Mar 2018 13:52:10 +0200 Subject: [PATCH] [WebUI] Fix modalBody for maps that appear more than once --- interface/js/app/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/js/app/config.js b/interface/js/app/config.js index 894f080fd..6955f5eaf 100644 --- a/interface/js/app/config.js +++ b/interface/js/app/config.js @@ -252,7 +252,7 @@ function($) { var editable = $(this).data('editable'); var title = $(this).data('title'); $('#modalTitle').html(title); - $('#modalBody ' + source).show(); + $('#modalBody ' + source).first().show(); var target = $(this).data('target'); $(target + ' .progress').hide(); $(target).modal(show = true, backdrop = true, keyboard = show); -- 2.39.5