From: bjoe2k4 Date: Fri, 30 Mar 2018 11:52:10 +0000 (+0200) Subject: [WebUI] Fix modalBody for maps that appear more than once X-Git-Tag: 1.7.3~68^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2133%2Fhead;p=thirdparty%2Frspamd.git [WebUI] Fix modalBody for maps that appear more than once --- diff --git a/interface/js/app/config.js b/interface/js/app/config.js index 894f080fd9..6955f5eafe 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);