]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[WebUI] Fix modalBody for maps that appear more than once 2133/head
authorbjoe2k4 <bjoe2k4@users.noreply.github.com>
Fri, 30 Mar 2018 11:52:10 +0000 (13:52 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Mar 2018 11:52:10 +0000 (13:52 +0200)
interface/js/app/config.js

index 894f080fd96915056b262726a37c17fd13203063..6955f5eafebbdde03f92f684a3632fb292ac9dda 100644 (file)
@@ -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);